summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9b29ccb)
raw | patch | inline | side by side (parent: 9b29ccb)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 13 Jul 2008 19:33:19 +0000 (21:33 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 15 Jul 2008 06:51:38 +0000 (08:51 +0200) |
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index 3d8b146683bb8e2c05af72da7b40d2b60aa05f6f..2be8cb3ba9d71e366b22923061b8669ccb4ac6b0 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
perl_la_SOURCES = perl.c
# Despite C99 providing the "bool" type thru stdbool.h, Perl defines its own
# version of that type if HAS_BOOL is not defined... *sigh*
-perl_la_CPPFLAGS = -DHAS_BOOL=1
+perl_la_CPPFLAGS = $(AM_CPPFLAGS) -DHAS_BOOL=1
perl_la_CFLAGS = $(AM_CFLAGS) \
$(PERL_CFLAGS) \
-DXS_VERSION=\"$(VERSION)\" -DVERSION=\"$(VERSION)\"
if BUILD_PLUGIN_POSTGRESQL
pkglib_LTLIBRARIES += postgresql.la
postgresql_la_SOURCES = postgresql.c
-postgresql_la_CPPFLAGS = $(BUILD_WITH_LIBPQ_CPPFLAGS)
+postgresql_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBPQ_CPPFLAGS)
postgresql_la_LDFLAGS = -module -avoid-version \
$(BUILD_WITH_LIBPQ_LDFLAGS) -lpq
collectd_LDADD += "-dlopen" postgresql.la