-avoid 'hu', as it is unsigned short, not uint16_t
[oweals/gnunet.git] / src / template / Makefile.am
index 42d6a95a07ca22ccdcf7ce9f7764018ff3333b8c..4df4eb4845b6e90d6f70d840d135c9b67a0c744d 100644 (file)
@@ -38,7 +38,7 @@ check_PROGRAMS = \
  test_template_api
 
 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