handle SRV
[oweals/gnunet.git] / src / gnsrecord / Makefile.am
index a5a698e2f5627a3285e8bfdd9c0e35a4f70b13d1..2ac330ae086d2ca34a2aa0e8c36dd8465f38a656 100644 (file)
@@ -21,7 +21,7 @@ check_PROGRAMS = \
  test_gnsrecord_block_expiration
 
 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) \
   $(check_SCRIPTS)