diff options
| -rw-r--r-- | m4/ax_lib_expat.m4 | 3 | ||||
| -rw-r--r-- | m4/ax_lib_xerces.m4 | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/m4/ax_lib_expat.m4 b/m4/ax_lib_expat.m4 index 90bd1b4..b64c3bc 100644 --- a/m4/ax_lib_expat.m4 +++ b/m4/ax_lib_expat.m4 @@ -275,6 +275,7 @@ p = NULL; fi fi if test "$HAVE_EXPAT" = "yes"; then - CPPFLAGS="$CPPFLAGS -DHAVE_EXPAT=1" + CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS -DHAVE_EXPAT=1" + LDFLAGS="$LDFLAGS $EXPAT_LDFLAGS" fi ]) diff --git a/m4/ax_lib_xerces.m4 b/m4/ax_lib_xerces.m4 index dfc38e1..9009d3d 100644 --- a/m4/ax_lib_xerces.m4 +++ b/m4/ax_lib_xerces.m4 @@ -291,6 +291,7 @@ XMLPlatformUtils::Initialize(); fi fi if test "$HAVE_XERCES" = "yes"; then - CPPFLAGS="$CPPFLAGS -DHAVE_XERCES_C=1" + CPPFLAGS="$CPPFLAGS $XERCES_CPPFLAGS -DHAVE_XERCES_C=1" + LDFLAGS="$LDFLAGS $XERCES_LDFLAGS $XERCES_LIBS" fi ]) |
