xvine:fixes
[oweals/gnunet.git] / src / identity / Makefile.am
index 616f0b5b0b8e647780cc190d42131b98660ab538..b55817899910c89a77218597ec8bb1d97fbaf9c0 100644 (file)
@@ -68,7 +68,7 @@ check_PROGRAMS = \
 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 = $(check_PROGRAMS) 
 endif