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/scalarproduct/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scalarproduct/Makefile.am') diff --git a/src/scalarproduct/Makefile.am b/src/scalarproduct/Makefile.am index 010d7ebfa..0f838a7f9 100644 --- a/src/scalarproduct/Makefile.am +++ b/src/scalarproduct/Makefile.am @@ -67,6 +67,6 @@ check_SCRIPTS = \ test_scalarproduct_negativezero.sh 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 = $(check_SCRIPTS) endif -- cgit v1.2.3