Change in osmo-bsc[master]: configure.ac: Add flag to enable/disable build of ipaccess related utils

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Mar 14 16:29:15 UTC 2019


Pau Espin Pedrol has submitted this change and it was merged. ( https://gerrit.osmocom.org/13222 )

Change subject: configure.ac: Add flag to enable/disable build of ipaccess related utils
......................................................................

configure.ac: Add flag to enable/disable build of ipaccess related utils

Change-Id: Iff70dc46c77b2ac58351ad9a91caf3f524c6fd89
---
M configure.ac
M src/Makefile.am
2 files changed, 9 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/configure.ac b/configure.ac
index eafe4d6..cdee90c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,11 @@
 AC_SEARCH_LIBS([dlopen], [dl dld], [LIBRARY_DL="$LIBS";LIBS=""])
 AC_SUBST(LIBRARY_DL)
 
+# Enable/disable ipaccess-utils (src/ipacces/)?
+AC_ARG_ENABLE([ipaccess-utils], [AS_HELP_STRING([--enable-ipaccess-utils], [Build ipaccess utils: abisip-find, ipaccess-config, ...])],
+    [osmo_ac_ipa_utils="$enableval"],[osmo_ac_ipa_utils="yes"])
+AM_CONDITIONAL(BUILD_IPA_UTILS, test "x$osmo_ac_ipa_utils" = "xyes")
+AC_SUBST(osmo_ac_ipa_utils)
 
 PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.12.0)
 PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.12.0)
diff --git a/src/Makefile.am b/src/Makefile.am
index 6c63eea..62ae4dd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,5 +23,8 @@
 	libfilter \
 	osmo-bsc \
 	utils \
-	ipaccess \
 	$(NULL)
+
+if BUILD_IPA_UTILS
+SUBDIRS += ipaccess
+endif

-- 
To view, visit https://gerrit.osmocom.org/13222
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iff70dc46c77b2ac58351ad9a91caf3f524c6fd89
Gerrit-Change-Number: 13222
Gerrit-PatchSet: 3
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-CC: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190314/d38cd263/attachment.html>


More information about the gerrit-log mailing list