summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac12
2 files changed, 13 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 4aa487052..0bd8d901a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120080228
2 - (dtucker) [configure.ac] Add -fstack-protector to LDFLAGS too, fixes
3 linking problems on AIX with gcc 4.1.x.
4
120080225 520080225
2 - (dtucker) [openbsd-compat/fake-rfc2553.h] rename ssh_gai_strerror hack 6 - (dtucker) [openbsd-compat/fake-rfc2553.h] rename ssh_gai_strerror hack
3 since it now conflicts with the helper function in misc.c. From 7 since it now conflicts with the helper function in misc.c. From
@@ -3627,4 +3631,4 @@
3627 OpenServer 6 and add osr5bigcrypt support so when someone migrates 3631 OpenServer 6 and add osr5bigcrypt support so when someone migrates
3628 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 3632 passwords between UnixWare and OpenServer they will still work. OK dtucker@
3629 3633
3630$Id: ChangeLog,v 1.4841 2008/02/25 10:13:47 dtucker Exp $ 3634$Id: ChangeLog,v 1.4842 2008/02/28 04:01:13 dtucker Exp $
diff --git a/configure.ac b/configure.ac
index f9e2d8b34..eaa1f845a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.390 2008/02/25 10:05:04 dtucker Exp $ 1# $Id: configure.ac,v 1.391 2008/02/28 04:01:13 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
17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) 17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
18AC_REVISION($Revision: 1.390 $) 18AC_REVISION($Revision: 1.391 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20 20
21AC_CONFIG_HEADER(config.h) 21AC_CONFIG_HEADER(config.h)
@@ -107,11 +107,15 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
107 107
108 AC_MSG_CHECKING(if $CC understands -fstack-protector-all) 108 AC_MSG_CHECKING(if $CC understands -fstack-protector-all)
109 saved_CFLAGS="$CFLAGS" 109 saved_CFLAGS="$CFLAGS"
110 saved_LDFLAGS="$LDFLAGS"
110 CFLAGS="$CFLAGS -fstack-protector-all" 111 CFLAGS="$CFLAGS -fstack-protector-all"
111 AC_TRY_COMPILE([], [ int main(void){return 0;} ], 112 LDFLAGS="$LDFLAGS -fstack-protector-all"
113 AC_TRY_LINK([], [ int main(void){return 0;} ],
112 [ AC_MSG_RESULT(yes) ], 114 [ AC_MSG_RESULT(yes) ],
113 [ AC_MSG_RESULT(no) 115 [ AC_MSG_RESULT(no)
114 CFLAGS="$saved_CFLAGS" ] 116 CFLAGS="$saved_CFLAGS"
117 LDFLAGS="$saved_LDFLAGS"
118 ]
115 ) 119 )
116 120
117 if test -z "$have_llong_max"; then 121 if test -z "$have_llong_max"; then