2012-06-14 13:05:44 +00:00
|
|
|
dnl Process this file with autoconf to produce a configure script
|
|
|
|
AC_INIT([osmo-pcu],
|
|
|
|
m4_esyscmd([./git-version-gen .tarball-version]),
|
2012-06-18 04:21:03 +00:00
|
|
|
[osmocom-pcu@lists.osmocom.org])
|
2012-06-14 13:05:44 +00:00
|
|
|
|
|
|
|
AM_INIT_AUTOMAKE([dist-bzip2])
|
|
|
|
|
|
|
|
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_CXX
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
LT_INIT
|
|
|
|
|
|
|
|
dnl checks for header files
|
|
|
|
AC_HEADER_STDC
|
|
|
|
|
|
|
|
dnl Checks for typedefs, structures and compiler characteristics
|
|
|
|
|
|
|
|
dnl checks for libraries
|
|
|
|
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.9)
|
|
|
|
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty)
|
|
|
|
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.3)
|
2012-07-12 10:49:15 +00:00
|
|
|
PKG_CHECK_MODULES(LIBOSMOGB, libosmogb >= 0.5.1.4)
|
2012-06-14 13:05:44 +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")
|
|
|
|
|
2012-12-18 09:47:28 +00:00
|
|
|
AC_MSG_CHECKING([whether to enable direct DSP access for PDCH of sysmocom-bts])
|
|
|
|
AC_ARG_ENABLE(sysmocom-dsp,
|
|
|
|
AC_HELP_STRING([--enable-sysmocom-dsp],
|
|
|
|
[enable code for sysmocom DSP [default=no]]),
|
|
|
|
[enable_sysmocom_dsp="yes"],[enable_sysmocom_dsp="no"])
|
|
|
|
AC_MSG_RESULT([$enable_sysmocom_dsp])
|
|
|
|
AM_CONDITIONAL(ENABLE_SYSMODSP, test "x$enable_sysmocom_dsp" = "xyes")
|
|
|
|
|
2012-06-14 13:05:44 +00:00
|
|
|
AC_OUTPUT(
|
|
|
|
src/Makefile
|
2013-01-11 16:49:22 +00:00
|
|
|
examples/Makefile
|
2012-06-14 13:05:44 +00:00
|
|
|
Makefile)
|