-fix URIs
[oweals/gnunet.git] / src / testing / Makefile.am
index c1b41c265d8f4fb180b475d186e49ba803bb0535..899708102f6324f7cb290e9123718964369790c7 100644 (file)
@@ -57,7 +57,7 @@ check_PROGRAMS = \
  test_testing_sharedservices
 
 if ENABLE_TEST_RUN 
-TESTS_ENVIRONMENT=export GNUNET_PREFIX=@prefix@;export PATH=@prefix@/bin:$$PATH;
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
 TESTS = \
  test_testing_portreservation \
  test_testing_peerstartup \