summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/ax_lib_xerces.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/ax_lib_xerces.m4 b/m4/ax_lib_xerces.m4
index 960dbe6..737e31f 100644
--- a/m4/ax_lib_xerces.m4
+++ b/m4/ax_lib_xerces.m4
@@ -48,7 +48,7 @@
AC_DEFUN([AX_LIB_XERCES],
[
- AC_REQUIRE([ACX_PTHREAD])
+# AC_REQUIRE([ACX_PTHREAD])
AC_ARG_WITH([xerces],
AC_HELP_STRING([--with-xerces=@<:@ARG@:>@],
@@ -287,4 +287,7 @@ XMLPlatformUtils::Initialize();
AC_MSG_WARN([Xerces C++ Parser support requested but headers or library not found. Specify valid prefix of Xerces C++ using --with-xerces=@<:@DIR@:>@ or provide include directory and linker flags using --with-xerces-inc and --with-xerces-lib])
fi
fi
+ if test "$HAVE_XERCES" = "yes"; then
+ CPPFLAGS="$CPPFLAGS -DHAVE_XERCES_C=1"
+ fi
])