11
0
Fork 0

configure.ac: add AC_LANG_SOURCE to AC_COMPILE_IFELSE

This is required since autoconf 2.66 for safetly reason
This commit is contained in:
Alexander Huemer 2012-12-06 23:09:32 +01:00 committed by Sylvain Munaut
parent 6a2078ff84
commit a79ff50a97
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ AC_CHECK_HEADERS(execinfo.h sys/select.h)
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fvisibility=hidden "
AC_MSG_CHECKING([if ${CC} supports -fvisibility=hidden])
AC_COMPILE_IFELSE([char foo;],
AC_COMPILE_IFELSE([AC_LANG_SOURCE([char foo;])],
[ AC_MSG_RESULT([yes])
SYMBOL_VISIBILITY="-fvisibility=hidden"],
AC_MSG_RESULT([no]))