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

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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue Mar 12 17:59:22 UTC 2019


Pau Espin Pedrol has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/22/13222/1

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: newchange
Gerrit-Change-Id: Iff70dc46c77b2ac58351ad9a91caf3f524c6fd89
Gerrit-Change-Number: 13222
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190312/d7a2d45c/attachment.htm>


More information about the gerrit-log mailing list