[mobile] Adding security warning, if default IMEI is not changed
[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 AC_CHECK_LIB(gps, gps_waiting, CFLAGS+=" -D_HAVE_GPSD" LDFLAGS+=" -lgps",,)
20
21 dnl checks for header files
22 AC_HEADER_STDC
23
24 dnl Checks for typedefs, structures and compiler characteristics
25
26 AC_OUTPUT(
27     src/Makefile
28     src/common/Makefile
29     src/misc/Makefile
30     src/mobile/Makefile
31     include/Makefile
32     include/osmocom/Makefile
33     include/osmocom/bb/Makefile
34     include/osmocom/bb/common/Makefile
35     include/osmocom/bb/misc/Makefile
36     include/osmocom/bb/mobile/Makefile
37     Makefile)