- test and log for bug #0003423
[oweals/gnunet.git] / src / gnsrecord / Makefile.am
index d0d8f3e894a57e3180cf0c5c46218bc09b27ee13..2ac330ae086d2ca34a2aa0e8c36dd8465f38a656 100644 (file)
@@ -21,7 +21,7 @@ check_PROGRAMS = \
  test_gnsrecord_block_expiration
 
 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_PROGRAMS) \
   $(check_SCRIPTS)