aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2008-11-05 12:19:44 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2008-11-05 12:19:44 +0000
commitf3e0909e124674db029dbfbfb4ae80de94a5d89f (patch)
tree8de10383f3436e42930291a950f8220f16c227c9
parent8f24f0bfdfb1eb2d1c5f59febc2498f03fd8ad78 (diff)
downloadmonitoring-plugins-f3e0909e124674db029dbfbfb4ae80de94a5d89f.tar.gz
Fixed libtap dependency issue. Warning: will install tap into lib directories
if ./configure --enable-libtap is used, but as development tool, will be okay git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2068 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--Makefile.am2
-rw-r--r--NEWS1
-rw-r--r--configure.in4
3 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 770a7983..0452133f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
-SUBDIRS = gl lib plugins plugins-scripts plugins-root po @PERLMODS_DIR@
+SUBDIRS = gl @INCLUDE_TAP_DIR@ lib plugins plugins-scripts plugins-root po @PERLMODS_DIR@
# Have to list TAP_DIR manually to get in distribution
EXTRA_DIST = config.rpath \
diff --git a/NEWS b/NEWS
index 42eb761e..ecabde32 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@ This file documents the major additions and syntax changes between releases.
check_ups now sends a LOGOUT string (debian bug #387001)
Extra-opts (C plugins) now allows both '#' and ';' for comments (like N::P)
Extra-opts (C plugins) does not allow trailing comments anymore (like N::P)
+ Fixed dependency issue on libtap when ./configure --enable-libtap used. Warning: will install libtap
1.4.13 25th Sept 2008
Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen)
diff --git a/configure.in b/configure.in
index 17fd14c4..7687ae6e 100644
--- a/configure.in
+++ b/configure.in
@@ -166,6 +166,10 @@ AC_SUBST(TAP_DIR)
if test "$enable_libtap" = yes; then
dnl Have to have AC_CONFIG_SUBDIRS as a literal
AC_CONFIG_SUBDIRS([external/tap-1.01])
+ dnl This is required so that TAP stuff is compiled before the libs and tests
+ dnl A make install will also install the tap library, but as this is a development tool, this should be okay
+ INCLUDE_TAP_DIR=$TAP_DIR
+ AC_SUBST(INCLUDE_TAP_DIR)
EXTRA_TEST="test_utils test_disk test_tcp test_cmd test_base64"
AC_SUBST(EXTRA_TEST)
fi