gsmmap: Dump SYSTEM INFORMATION messages while processing
[osmocom-bb.git] / src / host / layer23 / configure.ac
1 dnl Process this file with autoconf to produce a configure script
2 AC_INIT
3
4 AM_INIT_AUTOMAKE(layer23, 0.0.0)
5
6 dnl kernel style compile messages
7 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
8
9 dnl checks for programs
10 AC_PROG_MAKE_SET
11 AC_PROG_CC
12 AC_PROG_INSTALL
13 AC_PROG_RANLIB
14
15 dnl checks for libraries
16 PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)
17 PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty)
18 PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm)
19 PKG_CHECK_MODULES(LIBOSMOCODEC, libosmocodec)
20 AC_CHECK_LIB(gps, gps_waiting, CFLAGS+=" -D_HAVE_GPSD" LDFLAGS+=" -lgps",,)
21
22 dnl checks for header files
23 AC_HEADER_STDC
24
25 dnl Checks for typedefs, structures and compiler characteristics
26
27 AC_OUTPUT(
28     src/Makefile
29     src/common/Makefile
30     src/misc/Makefile
31     src/mobile/Makefile
32     include/Makefile
33     include/osmocom/Makefile
34     include/osmocom/bb/Makefile
35     include/osmocom/bb/common/Makefile
36     include/osmocom/bb/misc/Makefile
37     include/osmocom/bb/mobile/Makefile
38     Makefile)