psycstore: add option to perform membership test when retrieving fragment or message
[oweals/gnunet.git] / src / psycstore / Makefile.am
index 8448f45e8ea64b80430d2f3b1b1cde6d384c5c44..e27113b8155ed8e6d7585db8b0fbf56a8eb77249 100644 (file)
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_srcdir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
 
 plugindir = $(libdir)/gnunet
 
@@ -76,11 +76,12 @@ libgnunet_plugin_psycstore_sqlite_la_DEPENDENCIES = \
 
 if HAVE_TESTING
 check_PROGRAMS = \
test_psycstore \
- $(SQLITE_TESTS)
$(SQLITE_TESTS) \
+ test_psycstore
 endif
 
 if ENABLE_TEST_RUN
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
 TESTS = $(check_PROGRAMS)
 endif