diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-16 17:31:11 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-16 17:31:11 +0000 |
commit | dc35902e3071b24749b6779e5a16c477e84a97a0 (patch) | |
tree | 6d0baaa5f828c18d3c3b6bf31aa23ffd6ee4fbeb | |
parent | 1c229b2c4572f1fcf5e1fe470f49df49111816f5 (diff) | |
download | monitoring-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.in | 4 | ||||
-rw-r--r-- | plugins/tests/Makefile.am | 4 | ||||
-rwxr-xr-x | tools/setup | 1 |
3 files changed, 4 insertions, 5 deletions
diff --git a/configure.in b/configure.in index ddbde159..d1ef9543 100644 --- a/configure.in +++ b/configure.in | |||
@@ -23,7 +23,7 @@ gl_USE_SYSTEM_EXTENSIONS | |||
23 | AC_PROG_CC | 23 | AC_PROG_CC |
24 | AC_PROG_CPP | 24 | AC_PROG_CPP |
25 | AC_PROG_GCC_TRADITIONAL | 25 | AC_PROG_GCC_TRADITIONAL |
26 | AC_PROG_RANLIB | 26 | AC_PROG_LIBTOOL |
27 | 27 | ||
28 | AC_PROG_MAKE_SET | 28 | AC_PROG_MAKE_SET |
29 | AC_PROG_AWK | 29 | AC_PROG_AWK |
@@ -168,10 +168,8 @@ AC_SUBST(MATHLIBS) | |||
168 | 168 | ||
169 | dnl Check for libtap, to run perl-like tests | 169 | dnl Check for libtap, to run perl-like tests |
170 | AC_CHECK_LIB(tap, plan_tests, | 170 | AC_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 | ||
177 | dnl Check for PostgreSQL libraries | 175 | dnl Check for PostgreSQL libraries |
diff --git a/plugins/tests/Makefile.am b/plugins/tests/Makefile.am index c73725de..d3e74945 100644 --- a/plugins/tests/Makefile.am +++ b/plugins/tests/Makefile.am | |||
@@ -15,8 +15,8 @@ LIBS = @LIBINTL@ | |||
15 | 15 | ||
16 | test_utils_SOURCES = test_utils.c | 16 | test_utils_SOURCES = test_utils.c |
17 | test_utils_CFLAGS = -g -I.. | 17 | test_utils_CFLAGS = -g -I.. |
18 | test_utils_LDFLAGS = -L.. | 18 | test_utils_LDFLAGS = -rpath /usr/local/lib -ltap |
19 | test_utils_LDADD = ../utils.o $(TAPLIBS) | 19 | test_utils_LDADD = ../utils.o |
20 | 20 | ||
21 | test: ${noinst_PROGRAMS} | 21 | test: ${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 39c6f74a..be625abd 100755 --- a/tools/setup +++ b/tools/setup | |||
@@ -20,6 +20,7 @@ fi | |||
20 | 20 | ||
21 | autopoint --force | 21 | autopoint --force |
22 | aclocal -I m4 | 22 | aclocal -I m4 |
23 | libtoolize --force --copy | ||
23 | autoheader | 24 | autoheader |
24 | automake --add-missing --force-missing --copy | 25 | automake --add-missing --force-missing --copy |
25 | autoconf | 26 | autoconf |