2010-02-18 15:46:36 +00:00
|
|
|
dnl Process this file with autoconf to produce a configure script
|
|
|
|
AC_INIT
|
|
|
|
|
2010-03-03 13:24:05 +00:00
|
|
|
AM_INIT_AUTOMAKE(layer23, 0.0.0)
|
2010-02-18 15:46:36 +00:00
|
|
|
|
|
|
|
dnl kernel style compile messages
|
|
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|
|
|
|
|
|
|
dnl checks for programs
|
|
|
|
AC_PROG_MAKE_SET
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_RANLIB
|
|
|
|
|
2010-02-20 17:58:12 +00:00
|
|
|
dnl checks for libraries
|
|
|
|
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)
|
2010-06-26 14:00:29 +00:00
|
|
|
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty)
|
2011-03-09 16:27:20 +00:00
|
|
|
AC_CHECK_LIB(gps, gps_waiting, CFLAGS+=" -D_HAVE_GPSD" LDFLAGS+=" -lgps",,)
|
2010-02-20 17:58:12 +00:00
|
|
|
|
2010-02-18 15:46:36 +00:00
|
|
|
dnl checks for header files
|
|
|
|
AC_HEADER_STDC
|
|
|
|
|
|
|
|
dnl Checks for typedefs, structures and compiler characteristics
|
|
|
|
|
|
|
|
AC_OUTPUT(
|
|
|
|
src/Makefile
|
2010-07-24 22:25:50 +00:00
|
|
|
src/common/Makefile
|
|
|
|
src/misc/Makefile
|
|
|
|
src/mobile/Makefile
|
2010-02-18 15:46:36 +00:00
|
|
|
include/Makefile
|
|
|
|
include/osmocom/Makefile
|
2010-07-27 18:44:46 +00:00
|
|
|
include/osmocom/bb/Makefile
|
|
|
|
include/osmocom/bb/common/Makefile
|
|
|
|
include/osmocom/bb/misc/Makefile
|
|
|
|
include/osmocom/bb/mobile/Makefile
|
2010-02-18 15:46:36 +00:00
|
|
|
Makefile)
|