-fix URIs
[oweals/gnunet.git] / src / hello / Makefile.am
index 8f16219e80ab15357c3b2e5a001f87f62f5c6499..7e5b9c451fd7e7e23fd63d5a7aab52a4748912ca 100644 (file)
@@ -28,7 +28,7 @@ check_PROGRAMS = \
  test_friend_hello
 
 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)
 endif