aboutsummaryrefslogtreecommitdiff
path: root/lib/tests
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2008-07-02 20:07:00 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2008-07-02 20:07:00 +0000
commitf1bfe40afb671f5af4b32c446cbcbd8b61343739 (patch)
tree54f83f4b902aa095f2aa37609b5e971e934cc185 /lib/tests
parent25f0e9f4f09c7d161fbc1e3483501a9f3e7e5b3f (diff)
downloadmonitoring-plugins-f1bfe40afb671f5af4b32c446cbcbd8b61343739.tar.gz
Use tap.h from the libtap directory
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2017 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/tests')
-rw-r--r--lib/tests/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am
index 45c11527..9eeef93e 100644
--- a/lib/tests/Makefile.am
+++ b/lib/tests/Makefile.am
@@ -5,7 +5,8 @@ noinst_PROGRAMS = @EXTRA_TEST@
TESTS = @EXTRA_TEST@
check_PROGRAMS = @EXTRA_TEST@
-INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins
+TAP_LIB_DIR = $(top_srcdir)/@TAP_DIR@/src
+INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins -I$(TAP_LIB_DIR)
EXTRA_PROGRAMS = test_utils test_disk test_tcp test_cmd test_base64 test_ini test_opts
@@ -15,8 +16,6 @@ EXTRA_DIST = $(np_test_scripts) $(np_test_files)
LIBS = @LIBINTL@
-TAP_LIB_DIR = $(top_srcdir)/@TAP_DIR@/src
-
test_utils_SOURCES = test_utils.c
test_utils_CFLAGS = -g -I..
test_utils_LDFLAGS = -L$(TAP_LIB_DIR) -ltap