osmo-bts/configure.ac

44 lines
1.2 KiB
Plaintext
Raw Normal View History

2011-03-04 13:18:10 +00:00
dnl Process this file with autoconf to produce a configure script
2011-09-07 19:28:27 +00:00
AC_INIT([osmo-bts],
m4_esyscmd([./git-version-gen .tarball-version]),
[openbsc-devel@lists.openbsc.org])
2011-03-04 13:18:10 +00:00
2011-09-07 19:28:27 +00:00
AM_INIT_AUTOMAKE([dist-bzip2])
2011-03-04 13:18:10 +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
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
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.9)
2011-03-04 13:18:10 +00:00
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty)
PKG_CHECK_MODULES(LIBOSMOTRAU, libosmotrau >= 0.0.7)
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.3)
2011-03-04 13:18:10 +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
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)