diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 13 |
2 files changed, 16 insertions, 3 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20071202 | ||
2 | - (dtucker) [configure.ac] Enable -fstack-protector-all on systems where | ||
3 | gcc supports it. ok djm@ | ||
4 | |||
1 | 20071030 | 5 | 20071030 |
2 | - (djm) OpenBSD CVS Sync | 6 | - (djm) OpenBSD CVS Sync |
3 | - djm@cvs.openbsd.org 2007/10/29 23:49:41 | 7 | - djm@cvs.openbsd.org 2007/10/29 23:49:41 |
@@ -3414,4 +3418,4 @@ | |||
3414 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 3418 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
3415 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 3419 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
3416 | 3420 | ||
3417 | $Id: ChangeLog,v 1.4794 2007/10/29 23:52:44 djm Exp $ | 3421 | $Id: ChangeLog,v 1.4795 2007/12/02 10:02:22 dtucker Exp $ |
diff --git a/configure.ac b/configure.ac index e9402a735..c9bce0199 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.386 2007/09/26 21:03:20 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.387 2007/12/02 10:02:22 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -15,7 +15,7 @@ | |||
15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | 16 | ||
17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) | 17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) |
18 | AC_REVISION($Revision: 1.386 $) | 18 | AC_REVISION($Revision: 1.387 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | 20 | ||
21 | AC_CONFIG_HEADER(config.h) | 21 | AC_CONFIG_HEADER(config.h) |
@@ -105,6 +105,15 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | |||
105 | *) ;; | 105 | *) ;; |
106 | esac | 106 | esac |
107 | 107 | ||
108 | AC_MSG_CHECKING(if $GCC understands -fstack-protector-all) | ||
109 | saved_CFLAGS="$CFLAGS" | ||
110 | CFLAGS="$CFLAGS -fstack-protector-all" | ||
111 | AC_TRY_COMPILE([], [ int main(void){return 0;} ], | ||
112 | [ AC_MSG_RESULT(yes) ], | ||
113 | [ AC_MSG_RESULT(no) | ||
114 | CFLAGS="$saved_CFLAGS" ] | ||
115 | ) | ||
116 | |||
108 | if test -z "$have_llong_max"; then | 117 | if test -z "$have_llong_max"; then |
109 | # retry LLONG_MAX with -std=gnu99, needed on some Linuxes | 118 | # retry LLONG_MAX with -std=gnu99, needed on some Linuxes |
110 | unset ac_cv_have_decl_LLONG_MAX | 119 | unset ac_cv_have_decl_LLONG_MAX |