Merge commit 'e476442cf0e84c65565ace545f5b73602b5f0ffc'
[osmocom-bb.git] / src / shared / libosmocore / configure.in
index 1684aaa..2e22bb2 100644 (file)
@@ -18,7 +18,7 @@ AC_CONFIG_MACRO_DIR([m4])
 
 dnl checks for header files
 AC_HEADER_STDC
-AC_CHECK_HEADERS(execinfo.h sys/select.h)
+AC_CHECK_HEADERS(execinfo.h sys/select.h sys/socket.h syslog.h ctype.h)
 
 # The following test is taken from WebKit's webkit.m4
 saved_CFLAGS="$CFLAGS"
@@ -88,19 +88,36 @@ then
        AC_DEFINE([BSC_FD_CHECK],[1],[Instrument the bsc_register_fd])
 fi
 
+AC_ARG_ENABLE(msgfile,
+       [AS_HELP_STRING(
+               [--disable-msgfile],
+               [Disable support for the msgfile],
+       )],
+       [enable_msgfile=0], [enable_msgfile=1])
+AM_CONDITIONAL(ENABLE_MSGFILE, test "x$enable_msgfile" = "x1")
+
 
 AC_OUTPUT(
        libosmocore.pc
+       libosmocodec.pc
        libosmovty.pc
+       libosmogsm.pc
        include/osmocom/Makefile
        include/osmocom/vty/Makefile
+       include/osmocom/codec/Makefile
        include/osmocom/crypt/Makefile
-       include/osmocore/Makefile
-       include/osmocore/protocol/Makefile
+       include/osmocom/gsm/Makefile
+       include/osmocom/gsm/protocol/Makefile
+       include/osmocom/core/Makefile
        include/Makefile
        src/Makefile
        src/vty/Makefile
+       src/codec/Makefile
+       src/gsm/Makefile
        tests/Makefile
        tests/timer/Makefile
        tests/sms/Makefile
+       tests/msgfile/Makefile
+       tests/ussd/Makefile
+       tests/smscb/Makefile
        Makefile)