Code

Changed configure option to --with-libtap-srcdir because requires
authorTon Voon <tonvoon@users.sourceforge.net>
Tue, 31 Jan 2006 10:05:20 +0000 (10:05 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Tue, 31 Jan 2006 10:05:20 +0000 (10:05 +0000)
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

configure.in

index 9afbf60e3639192209d68aedac4b40328d8d2273..d56501acedb4066e12654f3a7ce407f96274ff8e 100644 (file)
@@ -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,