3 AM_INIT_AUTOMAKE(libosmocore, 0.0alpha1)
5 dnl kernel style compile messages
6 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
8 dnl checks for programs
15 dnl checks for header files
17 AC_CHECK_HEADERS(execinfo.h sys/select.h)
19 # The following test is taken from WebKit's webkit.m4
20 saved_CFLAGS="$CFLAGS"
21 CFLAGS="$CFLAGS -fvisibility=hidden "
22 AC_MSG_CHECKING([if ${CC} supports -fvisibility=hidden])
23 AC_COMPILE_IFELSE([char foo;],
24 [ AC_MSG_RESULT([yes])
25 SYMBOL_VISIBILITY="-fvisibility=hidden"],
27 CFLAGS="$saved_CFLAGS"
28 AC_SUBST(SYMBOL_VISIBILITY)
30 dnl Generate the output
31 AM_CONFIG_HEADER(config.h)
35 include/osmocore/Makefile
36 include/osmocore/protocol/Makefile