projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
789def3
)
Only enable ALVIS if Libxml2 2.6.15 or later is in use.
author
Adam Dickmeiss
<adam@indexdata.dk>
Sun, 5 Nov 2006 19:57:40 +0000
(19:57 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sun, 5 Nov 2006 19:57:40 +0000
(19:57 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
0b5ccde
..
44f15ba
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1,5
+1,5
@@
dnl Zebra, Index Data ApS, 1995-2006
dnl Zebra, Index Data ApS, 1995-2006
-dnl $Id: configure.ac,v 1.35 2006-11-03 23:17:08 adam Exp $
+dnl $Id: configure.ac,v 1.36 2006-11-05 19:57:40 adam Exp $
dnl
AC_PREREQ(2.59)
AC_INIT([idzebra],[2.0.4],[adam@indexdata.dk])
dnl
AC_PREREQ(2.59)
AC_INIT([idzebra],[2.0.4],[adam@indexdata.dk])
@@
-303,11
+303,20
@@
ZEBRA_MODULE(grs-xml,[$def], [ --enable-mod-grs-xml XML filter (Expat based)
oldCPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $YAZINC"
AC_PREPROC_IFELSE(
oldCPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $YAZINC"
AC_PREPROC_IFELSE(
- [AC_LANG_PROGRAM([[#include <stdio.h>]],
- [[
-#if YAZ_HAVE_XSLT
+ [AC_LANG_PROGRAM([[
+#if YAZ_HAVE_XML2
+#include <libxml/xmlversion.h>
+#include <libxml/parser.h>
+#include <libxml/tree.h>
+#include <libxml/xmlIO.h>
+#include <libxslt/transform.h>
+#include <libxslt/xsltutils.h>
#else
#else
-#error no xslt
+#error Libxml2 not available
+#endif
+]],[[
+#if LIBXML_VERSION < 20615
+#error Libxml2 version < 2.6.15. xmlreader not reliable/present
#endif
]])],
[def="shared"],
#endif
]])],
[def="shared"],