Fix make distcheck

Submitted by msuraev@sysmocom.de on April 13, 2016, 1:46 p.m.

Details

Message ID 1460555200-15790-1-git-send-email-msuraev@sysmocom.de
State New
Series "Fix make distcheck"
Headers show

Commit Message

msuraev@sysmocom.de April 13, 2016, 1:46 p.m.
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(+)

Patch hide | download patch | download mbox

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

Comments

msuraev@sysmocom.de April 13, 2016, 1:49 p.m.
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.