From 93ef33edb6f7436759e6276b5b208faf49a87f31 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Jan 2012 22:53:04 +0100 Subject: 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). --- openbsc/configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/configure.ac') 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 -- cgit v1.2.3