Added XPointer: - configure.in Makefile.am include/makefile.am: adding
Added XPointer:
- configure.in Makefile.am include/makefile.am: adding XPointer
and XPtrtests target
- xpointer.[ch] : new files for XPointer support
- test/XPath/xptr result/XPath/xptr: added XPointer testsuite and
more XPath tests
Daniel
diff --git a/configure.in b/configure.in
index 7cac90f..28b4685 100644
--- a/configure.in
+++ b/configure.in
@@ -245,6 +245,18 @@
AC_SUBST(WITH_XPATH)
AC_SUBST(XPATH_OBJ)
+AC_ARG_WITH(xptr, [ --with-xptr Add the XPointer support (on)])
+if test "$with_xptr" = "no" ; then
+ echo Disabling XPointer support
+ WITH_XPTR=0
+ XPTR_OBJ=
+else
+ WITH_XPTR=1
+ XPTR_OBJ=xpointer.o
+fi
+AC_SUBST(WITH_XPTR)
+AC_SUBST(XPTR_OBJ)
+
AC_ARG_WITH(iconv, [ --with-iconv Add the ICONV support (on)])
if test "$with_iconv" = "no" ; then
echo Disabling ICONV support