add --enable-iu with deps asn1c, ranap, sigtran

For upcoming 3G support.

Change-Id: I6209423d71f94d5cd0ca9daf065d0a9df521ef02
This commit is contained in:
Daniel Willmann 2016-05-20 21:42:55 +02:00 committed by Neels Hofmeyr
parent 9f5d231f00
commit 3af9660e51
1 changed files with 12 additions and 0 deletions

View File

@ -73,6 +73,18 @@ fi
AM_CONDITIONAL(BUILD_MGCP_TRANSCODING, test "x$osmo_ac_mgcp_transcoding" = "xyes")
# Enable/disable 3G aka IuPS + IuCS support?
AC_ARG_ENABLE([iu], [AS_HELP_STRING([--enable-iu], [Build 3G support, aka IuPS and IuCS interfaces])],
if test "x$osmo_ac_iu" = "xyes" ; then
PKG_CHECK_MODULES(LIBASN1C, libasn1c) # TODO version?
PKG_CHECK_MODULES(LIBOSMORANAP, libosmo-ranap) # TODO version?
PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran) # TODO version?
AC_DEFINE(BUILD_IU, 1, [Define if we want to build IuPS and IuCS interfaces support])
AM_CONDITIONAL(BUILD_IU, test "x$osmo_ac_iu" = "xyes")
PKG_CHECK_MODULES(LIBGTP, libgtp >= 0.92, , found_libgtp=no)