aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-04 06:16:24 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-04 06:16:24 +0800
commit8bffbca71e782ee75c99cfaed7fca29d46d30d2d (patch)
tree7a6bfab00840bd5696a092b41fb1cb2ce21a2f38
parentd86208d1ed35213be59db482439fbed0d9a9eccc (diff)
configure: Add a --enable-uniporte to build with/without the libs
-rw-r--r--configure.ac10
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 518b0bc..5b07704 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,9 +23,15 @@ PKG_CHECK_MODULES([LIBOSMOCORE], [libosmocore])
PKG_CHECK_MODULES([LIBOSMOSCCP], [libosmo-sccp])
PKG_CHECK_MODULES([LIBOSMOVTY], [libosmovty])
#PKG_CHECK_MODULES([NEXUSWARE_C7], [nexusware-c7])
-#PKG_CHECK_MODULES([NEXUSWARE_UNIPORTE], [nexusware-uniporte])
-AC_SUBST(UNIPORTE, [-DNO_UNIPORTE])
+AC_ARG_ENABLE([uniporte], [AS_HELP_STRING([--enable-uniporte], [Build with uniporte])],
+ [
+ PKG_CHECK_MODULES([NEXUSWARE_UNIPORTE], [nexusware-uniporte])
+ AC_SUBST(UNIPORTE, [])
+ ],
+ [
+ AC_SUBST(UNIPORTE, [-DNO_UNIPORTE])
+ ])
AC_OUTPUT(
include/Makefile