aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-01-23 21:54:19 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-01-23 21:54:19 +0100
commit827ed55c3b6fdaa27c8454af1535b201a107626f (patch)
treefb5adb885c9618450e465d8ffe4bbd3c992885db
parente5a093986b0b29523afdaf1149daf61748b290ba (diff)
misc: Use the $enableval in the macro and not "yes"
--enable-sysmocom-bts=no does not work because the enableval variable is not used.
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 6630653..f4b1d07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,7 +30,7 @@ AC_MSG_CHECKING([whether to enable sysmocom-bts hardware support])
AC_ARG_ENABLE(sysmocom-bts,
AC_HELP_STRING([--enable-sysmocom-bts],
[enable code for sysmocom femto-bts [default=no]]),
- [enable_sysmocom_bts="yes"],[enable_sysmocom_bts="no"])
+ [enable_sysmocom_bts="$enableval"],[enable_sysmocom_bts="no"])
AC_MSG_RESULT([$enable_sysmocom_bts])
AM_CONDITIONAL(ENABLE_SYSMOBTS, test "x$enable_sysmocom_bts" = "xyes")
@@ -38,7 +38,7 @@ AC_MSG_CHECKING([whether to enable direct DSP access for PDCH of sysmocom-bts])
AC_ARG_ENABLE(sysmocom-dsp,
AC_HELP_STRING([--enable-sysmocom-dsp],
[enable code for sysmocom DSP [default=no]]),
- [enable_sysmocom_dsp="yes"],[enable_sysmocom_dsp="no"])
+ [enable_sysmocom_dsp="$enableval"],[enable_sysmocom_dsp="no"])
AC_MSG_RESULT([$enable_sysmocom_dsp])
AM_CONDITIONAL(ENABLE_SYSMODSP, test "x$enable_sysmocom_dsp" = "xyes")