diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-04 06:16:24 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-04 06:16:24 +0800 |
commit | 8bffbca71e782ee75c99cfaed7fca29d46d30d2d (patch) | |
tree | 7a6bfab00840bd5696a092b41fb1cb2ce21a2f38 /configure.ac | |
parent | d86208d1ed35213be59db482439fbed0d9a9eccc (diff) |
configure: Add a --enable-uniporte to build with/without the libs
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
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 |