]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - config-scripts/cups-compiler.m4
Merge changes from CUPS 1.4svn-r8659
[thirdparty/cups.git] / config-scripts / cups-compiler.m4
index e0c46296335a17426eef38ad294b75bd5d7184ba..f3aa1b2401fc2ee258eaf6f14c0487e1c3c7562a 100644 (file)
@@ -140,7 +140,7 @@ if test -n "$GCC"; then
        AC_MSG_CHECKING(if GCC supports -fstack-protector)
        OLDCFLAGS="$CFLAGS"
        CFLAGS="$CFLAGS -fstack-protector"
-       AC_TRY_COMPILE(,,
+       AC_TRY_LINK(,,
                OPTIM="$OPTIM -fstack-protector"
                AC_MSG_RESULT(yes),
                AC_MSG_RESULT(no))