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