]> arthur.barton.de Git - ngircd.git/commitdiff
fix gcc 4.1 -fstack-protector detection.
authorFlorian Westphal <fw@strlen.de>
Sun, 13 Aug 2006 18:11:18 +0000 (18:11 +0000)
committerFlorian Westphal <fw@strlen.de>
Sun, 13 Aug 2006 18:11:18 +0000 (18:11 +0000)
configure.in

index 4336342c21c84eb50e7d9fd3a49f48737f26bf89..0875735a27d6124e7e7a7226ef057454499c9448 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.119 2006/08/05 08:58:16 fw Exp $
+# $Id: configure.in,v 1.120 2006/08/13 18:11:18 fw Exp $
 #
 
 # -- Initialisation --
@@ -69,7 +69,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"