[quagga-dev 10562] [PATCH] tests: change Makefile.am to support BSD make again

Christian Franke chris at opensourcerouting.org
Tue Jul 2 14:13:22 BST 2013


Signed-off-by: Christian Franke <chris at opensourcerouting.org>
---
 tests/Makefile.am |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

BSD make doesn't support the export statement. Also, I was unable to detect
any behavioural change for a GNU make build when I removed the export DEJAGNU.

Also it might be more correct to build the tests as check_PROGRAMS instead of
noinst_PROGRAMS.

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 93c06b0..2ed0e1c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,5 +1,4 @@
 AUTOMAKE_OPTIONS    = dejagnu
-export DEJAGNU
 DEJATOOL = libzebra
 
 SUBDIRS = \
@@ -25,7 +24,7 @@ else
 TESTS_BGPD =
 endif
 
-noinst_PROGRAMS = testsig testbuffer testmemory heavy heavywq heavythread \
+check_PROGRAMS = testsig testbuffer testmemory heavy heavywq heavythread \
 		testprivs teststream testchecksum tabletest \
 		$(TESTS_BGPD)
 
-- 
1.7.10.4





More information about the Quagga-dev mailing list