[PATCH] Fix make distcheck
From: Max <msuraev@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
Note: I have not tested this with jenkins. Also, make sure to remove any occurrence of DISTCHECK_CONFIGURE_FLAGS from jenkins build description before testing it. -- Max Suraev <msuraev@sysmocom.de> http://www.sysmocom.de/ ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Geschaeftsfuehrer / Managing Directors: Holger Freyther, Harald Welte
participants (2)
-
Max -
msuraev@sysmocom.de