summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2006-03-16 17:31:11 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2006-03-16 17:31:11 (GMT)
commitdc35902e3071b24749b6779e5a16c477e84a97a0 (patch)
tree6d0baaa5f828c18d3c3b6bf31aa23ffd6ee4fbeb
parent1c229b2c4572f1fcf5e1fe470f49df49111816f5 (diff)
downloadmonitoring-plugins-dc35902e3071b24749b6779e5a16c477e84a97a0.tar.gz
Using libtool to get runpath for tap library
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1325 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--configure.in4
-rw-r--r--plugins/tests/Makefile.am4
-rwxr-xr-xtools/setup1
3 files changed, 4 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index ddbde15..d1ef954 100644
--- a/configure.in
+++ b/configure.in
@@ -23,7 +23,7 @@ gl_USE_SYSTEM_EXTENSIONS
23AC_PROG_CC 23AC_PROG_CC
24AC_PROG_CPP 24AC_PROG_CPP
25AC_PROG_GCC_TRADITIONAL 25AC_PROG_GCC_TRADITIONAL
26AC_PROG_RANLIB 26AC_PROG_LIBTOOL
27 27
28AC_PROG_MAKE_SET 28AC_PROG_MAKE_SET
29AC_PROG_AWK 29AC_PROG_AWK
@@ -168,10 +168,8 @@ AC_SUBST(MATHLIBS)
168 168
169dnl Check for libtap, to run perl-like tests 169dnl Check for libtap, to run perl-like tests
170AC_CHECK_LIB(tap, plan_tests, 170AC_CHECK_LIB(tap, plan_tests,
171 TAPLIBS="-ltap"
172 EXTRA_TEST=test_utils 171 EXTRA_TEST=test_utils
173 AC_SUBST(EXTRA_TEST) 172 AC_SUBST(EXTRA_TEST)
174 AC_SUBST(TAPLIBS)
175 ) 173 )
176 174
177dnl Check for PostgreSQL libraries 175dnl Check for PostgreSQL libraries
diff --git a/plugins/tests/Makefile.am b/plugins/tests/Makefile.am
index c73725d..d3e7494 100644
--- a/plugins/tests/Makefile.am
+++ b/plugins/tests/Makefile.am
@@ -15,8 +15,8 @@ LIBS = @LIBINTL@
15 15
16test_utils_SOURCES = test_utils.c 16test_utils_SOURCES = test_utils.c
17test_utils_CFLAGS = -g -I.. 17test_utils_CFLAGS = -g -I..
18test_utils_LDFLAGS = -L.. 18test_utils_LDFLAGS = -rpath /usr/local/lib -ltap
19test_utils_LDADD = ../utils.o $(TAPLIBS) 19test_utils_LDADD = ../utils.o
20 20
21test: ${noinst_PROGRAMS} 21test: ${noinst_PROGRAMS}
22 perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) 22 perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS)
diff --git a/tools/setup b/tools/setup
index 39c6f74..be625ab 100755
--- a/tools/setup
+++ b/tools/setup
@@ -20,6 +20,7 @@ fi
20 20
21autopoint --force 21autopoint --force
22aclocal -I m4 22aclocal -I m4
23libtoolize --force --copy
23autoheader 24autoheader
24automake --add-missing --force-missing --copy 25automake --add-missing --force-missing --copy
25autoconf 26autoconf