summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2f4d1e0)
raw | patch | inline | side by side (parent: 2f4d1e0)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Fri, 14 Mar 2008 15:44:27 +0000 (15:44 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Fri, 14 Mar 2008 15:44:27 +0000 (15:44 +0000) |
dynamically, if necessary
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1941 f882894a-f735-0410-b71e-b25c423dba1c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1941 f882894a-f735-0410-b71e-b25c423dba1c
NEWS | patch | blob | history | |
plugins-root/Makefile.am | patch | blob | history | |
plugins/Makefile.am | patch | blob | history |
index b50e22c481a8554893fce7646a24015f519c7eb9..b2ce70e7b15a8b8d16b366337a6fbf80f26ed7c7 100644 (file)
--- a/NEWS
+++ b/NEWS
check_pgsql now successfully builds with postgres lib v8.3 (Bug #1878972)
check_procs now accepts --ereg-argument-array for a regular expression match to the argument array
Reverted back to using pst3 for Solaris systems. Fixed issues re: -m64 needed to compile on 64bit systems
+ If applicable, Gettext linked dynamically instead of statically
1.4.11 13th December 2007
Fixed check_http regression in 1.4.10 where following redirects to
index 83c064873f3be859c24c2c6ea35dfe1b048c7f1d..bca3ceb5f047618959020ebdb0fb126bebb49467 100644 (file)
--- a/plugins-root/Makefile.am
+++ b/plugins-root/Makefile.am
INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins @SSLINCLUDE@
-datadir = @datadir@
localedir = $(datadir)/locale
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
-LIBS = @LIBINTL@ @LIBS@
+# Don't add LTLIBINTL to all, as pst3 doesn't need it
+#LIBS = @LTLIBINTL@ @LIBS@
noinst_PROGRAMS = check_dhcp check_icmp @EXTRAS_ROOT@
##############################################################################
# the actual targets
-check_dhcp_LDADD = $(NETLIBS)
-check_icmp_LDADD = $(NETLIBS) $(SOCKETLIBS)
+check_dhcp_LDADD = @LTLIBINTL@ $(NETLIBS)
+check_icmp_LDADD = @LTLIBINTL@ $(NETLIBS) $(SOCKETLIBS)
# -m64 needed at compiler and linker phase
pst3_CFLAGS = @PST3CFLAGS@
pst3_LDFLAGS = @PST3CFLAGS@
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 30080aeb4334d4da209e59034da71d96d34495ec..67c49ca9453af0e3bd0e52ae751373061ee5df03 100644 (file)
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@
-datadir = @datadir@
localedir = $(datadir)/locale
+# gettext docs say to use AM_CPPFLAGS, but per module_CPPFLAGS override this
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
-LIBS = @LIBINTL@ @LIBS@
+# gettext docs say to use LDADD, but per module_LDADD override
+LIBS = @LTLIBINTL@ @LIBS@
MATHLIBS = @MATHLIBS@
# This is not portable. Run ". tools/devmode" to get development compile flags