aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-01-31 10:05:20 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-01-31 10:05:20 +0000
commit28bd24d61dc3b0b94b58081b35d1a22d7930fa45 (patch)
treea603ca6b21a22eddb176567dd9b49f741f627a48
parente0688a69114c95efaa0fbee8f8e91f6dcc21a1ee (diff)
downloadmonitoring-plugins-28bd24d61dc3b0b94b58081b35d1a22d7930fa45.tar.gz
Changed configure option to --with-libtap-srcdir because requires
tap.h as well as tap.o git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1305 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--configure.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 9afbf60e..d56501ac 100644
--- a/configure.in
+++ b/configure.in
@@ -74,13 +74,15 @@ AC_SUBST(with_nagios_group)
INSTALL_OPTS="-o $with_nagios_user -g $with_nagios_group"
AC_SUBST(INSTALL_OPTS)
-AC_ARG_WITH(libtap-object,
- ACX_HELP_STRING([--with-libtap-object=path],
- [full path to tap.o]),
+AC_ARG_WITH(libtap-srcdir,
+ ACX_HELP_STRING([--with-libtap-srcdir=path],
+ [full path to a compiled libtap srcdir]),
EXTRA_TEST=test_utils
- EXTRA_TAPOBJ=$withval
+ EXTRA_TAPOBJ=$withval/tap.o
AC_SUBST(EXTRA_TEST)
AC_SUBST(EXTRA_TAPOBJ)
+ LDFLAGS="$LDFLAGS -L$withval"
+ CPPFLAGS="$CPPFLAGS -I$withval"
)
AC_ARG_WITH(trusted_path,