From: Simon Josefsson Date: Fri, 16 Jun 2006 11:27:16 +0000 (+0000) Subject: Need to use AC_LINK_IFELSE, for -Wl,--enable-runtime-pseudo-reloc. X-Git-Tag: gnutls_1_4_1~82 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff6083975e89fae39ad4744c2d653d2de6b248de;p=thirdparty%2Fgnutls.git Need to use AC_LINK_IFELSE, for -Wl,--enable-runtime-pseudo-reloc. --- diff --git a/configure.in b/configure.in index a9eb4761b0..d358b41e6d 100644 --- a/configure.in +++ b/configure.in @@ -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;