aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-09-03 23:59:52 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-09-04 02:41:28 +0200
commitd63b5694a61b95f99433a3f9d885e61e9ab148ed (patch)
tree4e2ce8df251692330f159fa45db5cd8643ff426f
parente269d181b00e46993b304a5548b4135ce64e6a2e (diff)
--enable-iu by default
It will be the normal way of building to include support for IuPS. If for some reason osmo-iuh is not available, the user may now issue --disable-iu. Change-Id: I04b07ffead5d5394651d80711d2de06162eeed14
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index a90a6caf..359c5c19 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,11 +50,11 @@ PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran) # TODO version?
PKG_CHECK_MODULES(LIBCRYPTO, libcrypto >= 0.9.5)
# Enable/disable 3G aka IuPS + IuCS support?
-AC_ARG_ENABLE([iu], [AS_HELP_STRING([--enable-iu], [Build 3G support, aka IuPS and IuCS interfaces])],
- [osmo_ac_iu="$enableval"],[osmo_ac_iu="no"])
+AC_ARG_ENABLE([iu], [AS_HELP_STRING([--disable-iu], [Build without 3G support, i.e. without IuPS and IuCS interfaces])],
+ [osmo_ac_iu="$enableval"],[osmo_ac_iu="yes"])
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(LIBASN1C, libasn1c, [], [AC_MSG_ERROR(libasn1c not found. Build with --disable-iu?)]) # TODO version?
+ PKG_CHECK_MODULES(LIBOSMORANAP, libosmo-ranap, [], [AC_MSG_ERROR(libosmo-ranap not found. Build with --disable-iu?)]) # TODO version?
AC_DEFINE(BUILD_IU, 1, [Define if we want to build IuPS and IuCS interfaces support])
fi
AM_CONDITIONAL(BUILD_IU, test "x$osmo_ac_iu" = "xyes")