diff options
| author | Florian Westphal <fw@strlen.de> | 2006-08-13 18:11:18 +0000 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2006-08-13 18:11:18 +0000 |
| commit | 4d7d1d23be0b7ca4dea63a028011399fb07ee8a9 (patch) | |
| tree | ec27228507dc3469fab348f147e527fab6b9a12f /configure.in | |
| parent | e2aacff7d4f126ce6a577ea4df7b49dd83b7355b (diff) | |
| download | ngircd-4d7d1d23be0b7ca4dea63a028011399fb07ee8a9.tar.gz ngircd-4d7d1d23be0b7ca4dea63a028011399fb07ee8a9.zip | |
fix gcc 4.1 -fstack-protector detection.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 4336342c..0875735a 100644 --- a/configure.in +++ b/configure.in @@ -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" |