aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Huemer <alexander.huemer@xx.vu>2011-05-24 15:17:26 +0200
committerHarald Welte <laforge@gnumonks.org>2011-05-24 17:20:37 +0200
commit7f495a1a13301ee0d1a61a859558342aecd8501e (patch)
tree7d8e5244b809775f0277bba8dfb00b7a1feca928
parent89cf0b3db657c94fa6b87923442099e978d3cbfb (diff)
libosmo-sccp: add missing AC_LANG_SOURCE for current autoconf
autoconf >=2.68 demands the body of an AC_COMPILE_IFELSE to be wrapped in an AC_LANG_SOURCE macro, otherwise outputs annoying warnings on the invocation of `autoreconf -i`. this patch follows that demand.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 41495fe..b16b1f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@ PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.0)
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]))