-allow caller ID to differ from zone used for resolution
[oweals/gnunet.git] / src / dht / Makefile.am
index f35e1e18cf49006ef04ed8c10904f8c92f3a5fbe..fd0cf11847e9918e9983a83cf54f9b54b3e4811c 100644 (file)
@@ -158,7 +158,7 @@ if HAVE_EXPERIMENTAL
 endif
 
 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_dht_api $(check_SCRIPTS) \
  test_dht_twopeer \
  test_dht_line \