2011-03-04 13:18:10 +00:00
|
|
|
dnl Process this file with autoconf to produce a configure script
|
|
|
|
AC_INIT
|
|
|
|
|
|
|
|
AM_INIT_AUTOMAKE(osmo-bts, 0.0.0)
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2011-06-27 09:45:15 +00:00
|
|
|
dnl checks for header files
|
|
|
|
AC_HEADER_STDC
|
|
|
|
|
|
|
|
dnl Checks for typedefs, structures and compiler characteristics
|
|
|
|
|
2011-03-04 13:18:10 +00:00
|
|
|
dnl checks for libraries
|
2011-09-04 21:00:20 +00:00
|
|
|
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.9)
|
2011-03-04 13:18:10 +00:00
|
|
|
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty)
|
2011-09-07 10:40:50 +00:00
|
|
|
PKG_CHECK_MODULES(LIBOSMOTRAU, libosmotrau >= 0.0.7)
|
2011-06-27 09:32:11 +00:00
|
|
|
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.3)
|
2011-03-04 13:18:10 +00:00
|
|
|
|
2011-06-27 09:45:15 +00:00
|
|
|
AC_MSG_CHECKING([whether to enable sysmocom-bts hardware support])
|
|
|
|
AC_ARG_ENABLE(sysmocom-bts,
|
|
|
|
AC_HELP_STRING([--enable-sysmocom-bts],
|
|
|
|
[enable code for sysmocom femto-bts [default=no]]),
|
|
|
|
[enable_sysmocom_bts="yes"],[enable_sysmocom_bts="no"])
|
|
|
|
AC_MSG_RESULT([$enable_sysmocom_bts])
|
|
|
|
AM_CONDITIONAL(ENABLE_SYSMOBTS, test "x$enable_sysmocom_bts" = "xyes")
|
2011-03-04 13:18:10 +00:00
|
|
|
|
|
|
|
AC_OUTPUT(
|
|
|
|
src/Makefile
|
|
|
|
src/common/Makefile
|
2011-06-27 09:25:35 +00:00
|
|
|
src/osmo-bts-sysmo/Makefile
|
2011-03-04 13:18:10 +00:00
|
|
|
src/osmo-bts-bb/Makefile
|
|
|
|
include/Makefile
|
|
|
|
include/osmo-bts/Makefile
|
|
|
|
Makefile)
|