diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am
index 694baf0056761fb290160bdfe00ff4bcc78c6764..06a4b423baa7b88b0b197120e3f53f07e80ea073 100644 (file)
--- a/lib/tests/Makefile.am
+++ b/lib/tests/Makefile.am
TESTS = @EXTRA_TEST@
check_PROGRAMS = @EXTRA_TEST@
+AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\"
+
INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins
EXTRA_PROGRAMS = test_utils test_disk test_tcp test_cmd test_base64 test_ini1 test_ini3 test_opts1 test_opts2 test_opts3