summaryrefslogtreecommitdiff
path: root/libxslt/xsltconfig.h.in
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-01-09 15:43:24 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-01-09 15:43:24 +0000
commit08579bd1d3de04931fea952c07a84f7402918033 (patch)
tree0c8eaf2c20c04aa94cefd966bd1d7b0eaca19fdf /libxslt/xsltconfig.h.in
parentb4700a9c5d5c7d3a1254b997f0fb9932482d2b0e (diff)
downloadlibxslt-08579bd1d3de04931fea952c07a84f7402918033.tar.gz
integrated the module patch from Joel Reed with just a couple of changes
* configure.in win32/configure.js libxslt/extensions.c libxslt/xsltconfig.h.in libxslt/xsltwin32config.h.in: integrated the module patch from Joel Reed with just a couple of changes and cleanup. Daniel
Diffstat (limited to 'libxslt/xsltconfig.h.in')
-rw-r--r--libxslt/xsltconfig.h.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/libxslt/xsltconfig.h.in b/libxslt/xsltconfig.h.in
index aa2ecb5f..5b84765d 100644
--- a/libxslt/xsltconfig.h.in
+++ b/libxslt/xsltconfig.h.in
@@ -107,6 +107,19 @@ extern "C" {
#endif
/**
+ * WITH_MODULES:
+ *
+ * Whether module support is configured into libxslt
+ * Note: no default module path for win32 platforms
+ */
+#if @WITH_MODULES@
+#ifndef WITH_MODULES
+#define WITH_MODULES
+#endif
+#define LIBXSLT_DEFAULT_PLUGINS_PATH() @LIBXSLT_DEFAULT_PLUGINS_PATH@
+#endif
+
+/**
* ATTRIBUTE_UNUSED:
*
* This macro is used to flag unused function parameters to GCC