- log
[oweals/gnunet.git] / src / tun / Makefile.am
index a27d192cba5a3241d69dc0360ec571e2f59b3b76..1b42e53ec0ae0912794fd19b73b6baa5cbfc8610 100644 (file)
@@ -27,7 +27,7 @@ check_PROGRAMS = \
  test_regex
 
 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 = $(check_PROGRAMS)
 endif