[PATCH] osmo-sgsn[master]: --enable-iu by default

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Sep 4 00:42:02 UTC 2017


Review at  https://gerrit.osmocom.org/3788

--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
---
M configure.ac
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/88/3788/1

diff --git a/configure.ac b/configure.ac
index a90a6ca..359c5c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,11 +50,11 @@
 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")

-- 
To view, visit https://gerrit.osmocom.org/3788
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I04b07ffead5d5394651d80711d2de06162eeed14
Gerrit-PatchSet: 1
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list