summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1c229b2)
raw | patch | inline | side by side (parent: 1c229b2)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 16 Mar 2006 17:31:11 +0000 (17:31 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 16 Mar 2006 17:31:11 +0000 (17:31 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1325 f882894a-f735-0410-b71e-b25c423dba1c
configure.in | patch | blob | history | |
plugins/tests/Makefile.am | patch | blob | history | |
tools/setup | patch | blob | history |
diff --git a/configure.in b/configure.in
index ddbde15900c8f43284d1ca24f37010f4eb62429d..d1ef95439945b4b2c06a1077bff630ba335f8092 100644 (file)
--- a/configure.in
+++ b/configure.in
AC_PROG_CC
AC_PROG_CPP
AC_PROG_GCC_TRADITIONAL
-AC_PROG_RANLIB
+AC_PROG_LIBTOOL
AC_PROG_MAKE_SET
AC_PROG_AWK
dnl Check for libtap, to run perl-like tests
AC_CHECK_LIB(tap, plan_tests,
- TAPLIBS="-ltap"
EXTRA_TEST=test_utils
AC_SUBST(EXTRA_TEST)
- AC_SUBST(TAPLIBS)
)
dnl Check for PostgreSQL libraries
index c73725de1aedfd0e25e010dfb8e45d19f8f7f214..d3e74945fc2a0921c791586ae1130f6b5afe7938 100644 (file)
test_utils_SOURCES = test_utils.c
test_utils_CFLAGS = -g -I..
-test_utils_LDFLAGS = -L..
-test_utils_LDADD = ../utils.o $(TAPLIBS)
+test_utils_LDFLAGS = -rpath /usr/local/lib -ltap
+test_utils_LDADD = ../utils.o
test: ${noinst_PROGRAMS}
perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS)
diff --git a/tools/setup b/tools/setup
index 39c6f74a30aaa3fe6fa53cb5f7c532b124e4e6b5..be625abdf63fc4f631c099abf0abb8a84f099fd0 100755 (executable)
--- a/tools/setup
+++ b/tools/setup
autopoint --force
aclocal -I m4
+libtoolize --force --copy
autoheader
automake --add-missing --force-missing --copy
autoconf