]> arthur.barton.de Git - ngircd.git/commitdiff
fix gcc 4.1 -fstack-protector detection. [from HEAD]
authorAlexander Barton <alex@barton.de>
Sun, 13 Aug 2006 18:21:31 +0000 (18:21 +0000)
committerAlexander Barton <alex@barton.de>
Sun, 13 Aug 2006 18:21:31 +0000 (18:21 +0000)
configure.in

index d03551010e7a7b58aa49cabb1c7909f023074b1a..a2c222d2f3553227a0df16ca8c348b1f320d4bf2 100644 (file)
@@ -8,7 +8,7 @@
 # (at your option) any later version.
 # Please read the file COPYING, README and AUTHORS for more information.
 #
-# $Id: configure.in,v 1.118.2.2 2006/08/02 10:29:11 alex Exp $
+# $Id: configure.in,v 1.118.2.3 2006/08/13 18:21:31 alex Exp $
 #
 
 # -- Initialisation --
@@ -68,7 +68,7 @@ AC_DEFUN([GCC_STACK_PROTECT_CC],[
     AC_MSG_CHECKING([whether ${CC} accepts -fstack-protector])
     ssp_old_cflags="$CFLAGS"
     CFLAGS="$CFLAGS -fstack-protector"
-    AC_TRY_COMPILE(,,, ssp_cc=no)
+    AC_TRY_LINK(,,, ssp_cc=no)
     echo $ssp_cc
     if test "X$ssp_cc" = "Xno"; then
       CFLAGS="$ssp_old_cflags"