]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Need to use AC_LINK_IFELSE, for -Wl,--enable-runtime-pseudo-reloc.
authorSimon Josefsson <simon@josefsson.org>
Fri, 16 Jun 2006 11:27:16 +0000 (11:27 +0000)
committerSimon Josefsson <simon@josefsson.org>
Fri, 16 Jun 2006 11:27:16 +0000 (11:27 +0000)
configure.in

index a9eb4761b0d77c27eb57b5e942d6df3f2d6a550a..d358b41e6d6838f6ca32e57a99967b3c1856367e 100644 (file)
@@ -144,7 +144,7 @@ if test $ac_cv_c_compiler_gnu != no; then
        AC_MSG_CHECKING([if gcc supports -mms-bitfields -Wl,--enable-runtime-pseudo-reloc])
        _gcc_cflags_save=$CFLAGS
        CFLAGS="-mms-bitfields -Wl,--enable-runtime-pseudo-reloc"
-       AC_COMPILE_IFELSE(AC_LANG_PROGRAM([]),_gcc_mingw=yes,_gcc_mingw=no)
+       AC_LINK_IFELSE(AC_LANG_PROGRAM([]),_gcc_mingw=yes,_gcc_mingw=no)
        AC_MSG_RESULT($_gcc_mingw)
        if test x"$_gcc_mingw" != xyes ; then
          CFLAGS=$_gcc_cflags_save;