diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2008-03-14 15:44:27 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2008-03-14 15:44:27 +0000 |
commit | 9188225da4af5d09a59590a563b5516879b81579 (patch) | |
tree | 342e1c562abe5d8df144defb483e1111258358f0 | |
parent | 2f4d1e04488c6ae6342c38f2080a726f28d43b47 (diff) | |
download | monitoring-plugins-9188225da4af5d09a59590a563b5516879b81579.tar.gz |
Fixed 64 bit pst3 when tries to link to gettext. Gettext linked
dynamically, if necessary
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1941 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | plugins-root/Makefile.am | 8 | ||||
-rw-r--r-- | plugins/Makefile.am | 5 |
3 files changed, 8 insertions, 6 deletions
@@ -14,6 +14,7 @@ This file documents the major additions and syntax changes between releases. | |||
14 | check_pgsql now successfully builds with postgres lib v8.3 (Bug #1878972) | 14 | check_pgsql now successfully builds with postgres lib v8.3 (Bug #1878972) |
15 | check_procs now accepts --ereg-argument-array for a regular expression match to the argument array | 15 | check_procs now accepts --ereg-argument-array for a regular expression match to the argument array |
16 | Reverted back to using pst3 for Solaris systems. Fixed issues re: -m64 needed to compile on 64bit systems | 16 | Reverted back to using pst3 for Solaris systems. Fixed issues re: -m64 needed to compile on 64bit systems |
17 | If applicable, Gettext linked dynamically instead of statically | ||
17 | 18 | ||
18 | 1.4.11 13th December 2007 | 19 | 1.4.11 13th December 2007 |
19 | Fixed check_http regression in 1.4.10 where following redirects to | 20 | Fixed check_http regression in 1.4.10 where following redirects to |
diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am index 83c06487..bca3ceb5 100644 --- a/plugins-root/Makefile.am +++ b/plugins-root/Makefile.am | |||
@@ -4,10 +4,10 @@ VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plug | |||
4 | 4 | ||
5 | INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins @SSLINCLUDE@ | 5 | INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins @SSLINCLUDE@ |
6 | 6 | ||
7 | datadir = @datadir@ | ||
8 | localedir = $(datadir)/locale | 7 | localedir = $(datadir)/locale |
9 | DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ | 8 | DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ |
10 | LIBS = @LIBINTL@ @LIBS@ | 9 | # Don't add LTLIBINTL to all, as pst3 doesn't need it |
10 | #LIBS = @LTLIBINTL@ @LIBS@ | ||
11 | 11 | ||
12 | noinst_PROGRAMS = check_dhcp check_icmp @EXTRAS_ROOT@ | 12 | noinst_PROGRAMS = check_dhcp check_icmp @EXTRAS_ROOT@ |
13 | 13 | ||
@@ -66,8 +66,8 @@ install-exec-local: $(noinst_PROGRAMS) | |||
66 | 66 | ||
67 | ############################################################################## | 67 | ############################################################################## |
68 | # the actual targets | 68 | # the actual targets |
69 | check_dhcp_LDADD = $(NETLIBS) | 69 | check_dhcp_LDADD = @LTLIBINTL@ $(NETLIBS) |
70 | check_icmp_LDADD = $(NETLIBS) $(SOCKETLIBS) | 70 | check_icmp_LDADD = @LTLIBINTL@ $(NETLIBS) $(SOCKETLIBS) |
71 | # -m64 needed at compiler and linker phase | 71 | # -m64 needed at compiler and linker phase |
72 | pst3_CFLAGS = @PST3CFLAGS@ | 72 | pst3_CFLAGS = @PST3CFLAGS@ |
73 | pst3_LDFLAGS = @PST3CFLAGS@ | 73 | pst3_LDFLAGS = @PST3CFLAGS@ |
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 30080aeb..67c49ca9 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am | |||
@@ -4,10 +4,11 @@ VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plug | |||
4 | 4 | ||
5 | INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@ | 5 | INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@ |
6 | 6 | ||
7 | datadir = @datadir@ | ||
8 | localedir = $(datadir)/locale | 7 | localedir = $(datadir)/locale |
8 | # gettext docs say to use AM_CPPFLAGS, but per module_CPPFLAGS override this | ||
9 | DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ | 9 | DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ |
10 | LIBS = @LIBINTL@ @LIBS@ | 10 | # gettext docs say to use LDADD, but per module_LDADD override |
11 | LIBS = @LTLIBINTL@ @LIBS@ | ||
11 | MATHLIBS = @MATHLIBS@ | 12 | MATHLIBS = @MATHLIBS@ |
12 | 13 | ||
13 | # This is not portable. Run ". tools/devmode" to get development compile flags | 14 | # This is not portable. Run ". tools/devmode" to get development compile flags |