[PATCH] Fix make distcheck

msuraev at sysmocom.de msuraev at sysmocom.de
Wed Apr 13 13:46:40 UTC 2016


From: Max <msuraev at sysmocom.de>

Define automake variable for configure flags to be used while running
'make distcheck'. This should prevent additional vty tests from running
in readonly distcheck environment. Note: user can still break the build
by overriding this with DISTCHECK_CONFIGURE_FLAGS variable.
---
 src/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index 6428bef..487ef1d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,6 +19,7 @@
 #
 
 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGB_CFLAGS) $(LIBOSMOGSM_CFLAGS)
+AM_DISTCHECK_CONFIGURE_FLAGS="--enable-sysmocom-dsp=no"
 
 if ENABLE_SYSMODSP
 AM_CPPFLAGS += -DENABLE_SYSMODSP
-- 
2.8.1



More information about the osmocom-net-gprs mailing list