aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-03-12 18:26:19 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2019-03-14 17:07:45 +0100
commited1dcbb5517c209a85cbaeb7efcc4ce37871d1ce (patch)
tree50c997a1cd4996156043ccaa58684876d9964544 /configure.ac
parentb7e4a9bb8aff509133c6124e0bba16f9fcd33fe8 (diff)
configure.ac: Add flag to enable/disable build of ipaccess related utils
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index eafe4d6..cdee90c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,11 @@ dnl checks for libraries
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)