diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 4bd5460..31ab69e 100644 --- a/configure.ac +++ b/configure.ac @@ -92,7 +92,7 @@ AM_PROG_CC_C_O # shrug: autogen.sh suddenly needs this for some reason AC_CHECK_TOOL([OBJCOPY], [objcopy], []) AS_IF([test -n "$OBJCOPY"], [dnl AC_CACHE_CHECK([if $OBJCOPY supports -W], gpt_cv_objcopy_weaken, [dnl - AC_LINK_IFELSE([void foo() {} int main() {return 0;}], [dnl + AC_LINK_IFELSE([AC_LANG_SOURCE([void foo() {} int main() {return 0;}])], [dnl AS_IF(["$OBJCOPY" -W foo conftest$ac_exeext /dev/null], [gpt_cv_objcopy_weaken=yes], [gpt_cv_objcopy_weaken=no])], [gpt_cv_objcopy_weaken=no])])], |