From 59361267de062ea6db0b7f45d2c5d88520c7a379 Mon Sep 17 00:00:00 2001 From: Tim McColm <117424467+cinetim@users.noreply.github.com> Date: Wed, 12 Jun 2024 20:07:40 -0700 Subject: [PATCH] fix: Update m4/ax_lib_xerces.m4 to build with xerces-c linker symbols that were removed in last update --- m4/ax_lib_xerces.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/m4/ax_lib_xerces.m4 b/m4/ax_lib_xerces.m4 index 5b52e55a..e4823bef 100644 --- a/m4/ax_lib_xerces.m4 +++ b/m4/ax_lib_xerces.m4 @@ -286,4 +286,8 @@ 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 $XERCES_CPPFLAGS -DHAVE_XERCES_C=1" + LDFLAGS="$LDFLAGS $XERCES_LDFLAGS $XERCES_LIBS" + fi ])