diff --git a/openbsc/configure.in b/openbsc/configure.in index e9bc079b..74b30448 100644 --- a/openbsc/configure.in +++ b/openbsc/configure.in @@ -59,7 +59,7 @@ dnl Checks for typedefs, structures and compiler characteristics 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]))