summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7471e07)
raw | patch | inline | side by side (parent: 7471e07)
author | Sebastian Harl <sh@tokkee.org> | |
Thu, 4 Sep 2008 13:55:30 +0000 (15:55 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Fri, 5 Sep 2008 07:58:18 +0000 (09:58 +0200) |
* Define PERL_NO_GET_CONTEXT.
* Use the API functions without the Perl_ prefix.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
* Use the API functions without the Perl_ prefix.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 040ccda500c199bec002005d8b7987764ea008af..d4b9845537d1b280667711fa36fcaf8312cd89fd 100644 (file)
--- a/configure.in
+++ b/configure.in
AC_LINK_IFELSE(
AC_LANG_PROGRAM(
[[
+#define PERL_NO_GET_CONTEXT
#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>
]],
[[
- PerlInterpreter *perl = NULL;
- Perl_load_module (perl, PERL_LOADMOD_NOIMPORT,
+ dTHX;
+ load_module (PERL_LOADMOD_NOIMPORT,
newSVpv ("Collectd::Plugin::FooBar", 24),
Nullsv);
]]),