made configuring with regexps/automata/unicode the default but without
* Makefile.am configure.in include/libxml/xmlversion.h.in:
made configuring with regexps/automata/unicode the default
but without schemas ATM
* testRegexp.c valid.c xmlregexp.c include/libxml/xmlregexp.h:
fixed the regexp based DTD validation performance and memory
problem by switching to a compact form for determinist regexps
and detecting the determinism property in the process. Seems
as fast as the old DTD validation specific engine :-) despite
the regexp built and compaction process.
Daniel
diff --git a/configure.in b/configure.in
index 55e395d..26268f7 100644
--- a/configure.in
+++ b/configure.in
@@ -525,7 +525,8 @@
if test "$with_schemas" = "yes" ; then
echo Enabling Schemas support
WITH_SCHEMAS=1
- TEST_SCHEMAS="Regexptests Automatatests Schemastests"
+ TEST_SCHEMAS="Schemastests"
+ with_regexps=yes
else
WITH_SCHEMAS=0
TEST_SCHEMAS=
@@ -533,6 +534,18 @@
AC_SUBST(WITH_SCHEMAS)
AC_SUBST(TEST_SCHEMAS)
+AC_ARG_WITH(regexps, [ --with-regexps Add Regular Expressions support (on)])
+if test "$with_regexps" = "no" ; then
+ echo Disabling Regexps support
+ WITH_REGEXPS=0
+ TEST_REGEXPS=
+else
+ WITH_REGEXPS=1
+ TEST_REGEXPS="Regexptests Automatatests"
+fi
+AC_SUBST(WITH_REGEXPS)
+AC_SUBST(TEST_REGEXPS)
+
AC_ARG_WITH(debug, [ --with-debug Add the debugging module (on)])
if test "$with_debug" = "no" ; then
echo Disabling DEBUG support