From 611d42112112fe6e11df8a6417f3a0b69d97143f Mon Sep 17 00:00:00 2001 From: LRN Date: Sun, 2 Feb 2014 17:11:17 +0000 Subject: Fix TESTS_ENVIRONMENT setting (allow GNUNET_PREFIX to be overriden, allow TESTS_ENVIRONMENT to be overrided (use AM_TESTS_ENVIRONMENT)) --- src/dht/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dht/Makefile.am') diff --git a/src/dht/Makefile.am b/src/dht/Makefile.am index 2a4bb7d29..fd0cf1184 100644 --- a/src/dht/Makefile.am +++ b/src/dht/Makefile.am @@ -158,7 +158,7 @@ if HAVE_EXPERIMENTAL endif if ENABLE_TEST_RUN -TESTS_ENVIRONMENT=export GNUNET_PREFIX=@libdir@;export PATH=@prefix@/bin:$$PATH; +AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; TESTS = test_dht_api $(check_SCRIPTS) \ test_dht_twopeer \ test_dht_line \ -- cgit v1.2.3