aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/configure.ac
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-01-09 22:53:04 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-01-09 22:53:04 +0100
commit93ef33edb6f7436759e6276b5b208faf49a87f31 (patch)
treea7f1aa8f2349a2fe57e27c6960e222abae8e1f7e /openbsc/configure.ac
parent03ff1c847762174737eaa30e763d2d1eb51a4d2f (diff)
tests: Use atlocal/atlocal.in to enable/disable the NAT test
Kill the hacking, use atlocal to remember if the NAT test should be enabled and then skip the test (exit with 77).
Diffstat (limited to 'openbsc/configure.ac')
-rw-r--r--openbsc/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/configure.ac b/openbsc/configure.ac
index 636416b2c..56e4b60ad 100644
--- a/openbsc/configure.ac
+++ b/openbsc/configure.ac
@@ -29,6 +29,7 @@ AC_ARG_ENABLE([nat], [AS_HELP_STRING([--enable-nat], [Build the BSC NAT. Require
osmo_ac_build_nat="no"
])
AM_CONDITIONAL(BUILD_NAT, test "x$osmo_ac_build_nat" = "xyes")
+AC_SUBST(osmo_ac_build_nat)
AC_ARG_ENABLE([osmo-bsc], [AS_HELP_STRING([--enable-osmo-bsc], [Build the Osmo BSC])],
[
@@ -106,6 +107,7 @@ AC_OUTPUT(
src/libgb/Makefile
src/gprs/Makefile
tests/Makefile
+ tests/atlocal
tests/debug/Makefile
tests/gsm0408/Makefile
tests/db/Makefile