mirror of https://gerrit.osmocom.org/gapk
autotools: Add AC_LANG_SOURCE required for autotools >= 2.68
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
e2c5719d74
commit
19428ca7bf
|
@ -36,7 +36,7 @@ fi
|
|||
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]))
|
||||
|
|
Loading…
Reference in New Issue