aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-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