diff options
author | Jean-Francois Dionne <jf.dionne@nutaq.com> | 2017-06-05 14:44:57 -0400 |
---|---|---|
committer | Daniel Willmann <dwillmann@sysmocom.de> | 2019-03-21 13:22:22 +0100 |
commit | d746347a86e2de4f34926493238518d08e60db36 (patch) | |
tree | e517184f2b0bd780b0f9dd1f15225305833ed336 /configure.ac | |
parent | d5ffeb5e63eb223852a577b8f9a3c89bf0809fb3 (diff) |
Initial commit for OC-2G support.
Change-Id: I7cd89a549c9463e81893ca7dd925299f728e4453
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c3e2df86..149162ee 100644 --- a/configure.ac +++ b/configure.ac @@ -139,6 +139,25 @@ if test "$enable_litecell15" = "yes"; then CPPFLAGS="$oldCPPFLAGS" fi +AC_MSG_CHECKING([whether to enable direct PHY access for PDCH of NuRAN Wireless OC-2G BTS]) +AC_ARG_ENABLE(oc2gbts-phy, + AC_HELP_STRING([--enable-oc2gbts-phy], + [enable code for OC-2G PHY [default=no]]), + [enable_oc2gbts_phy="$enableval"],[enable_oc2gbts_phy="no"]) +AC_ARG_WITH([oc2g], [AS_HELP_STRING([--with-oc2g=INCLUDE_DIR], [Location of the OC-2G API header files])], + [oc2g_incdir="$withval"],[oc2g_incdir="$incdir"]) +AC_SUBST([OC2G_INCDIR], $oc2g_incdir) +AC_MSG_RESULT([$enable_oc2gbts_phy]) +AM_CONDITIONAL(ENABLE_OC2GBTS_PHY, test "x$enable_oc2gbts_phy" = "xyes") +if test "$enable_oc2g" = "yes"; then + oldCPPFLAGS=$CPPFLAGS + CPPFLAGS="$CPPFLAGS -I$OC2G_INCDIR -I$srcdir/include $LIBOSMOCORE_CFLAGS" + AC_CHECK_HEADER([nrw/oc2g/oc2g.h],[], + [AC_MSG_ERROR([nrw/oc2g/oc2g.h can not be found in $oc2g_incdir])], + [#include <nrw/oc2g/oc2g.h>]) + CPPFLAGS=$oldCPPFLAGS +fi + AC_ARG_ENABLE([vty_tests], AC_HELP_STRING([--enable-vty-tests], [Include the VTY tests in make check [default=no]]), |