summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 43b3f7d)
raw | patch | inline | side by side (parent: 43b3f7d)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 16 Jun 2008 21:03:17 +0000 (23:03 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 17 Jun 2008 19:57:21 +0000 (21:57 +0200) |
This works around a bug in Perl, which despite C99 defining the "bool" type
defines its own version of that type unless HAS_BOOL is defined... :-/
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
defines its own version of that type unless HAS_BOOL is defined... :-/
Signed-off-by: Sebastian Harl <sh@tokkee.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 4e157fa9de7b28f9e6e4d775d7423af8deab39d6..c852f34e1771f314afea70f968707a9995f618cc 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
if BUILD_PLUGIN_PERL
pkglib_LTLIBRARIES += perl.la
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_CFLAGS = $(AM_CFLAGS) \
$(PERL_CFLAGS) \
-DXS_VERSION=\"$(VERSION)\" -DVERSION=\"$(VERSION)\"