summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsheby <msheby@cinecert.com>2008-05-01 01:34:01 +0000
committermsheby <>2008-05-01 01:34:01 +0000
commit0b7b721ecf6c6e51207f8f1cfce33c4179677063 (patch)
treed3e6cf9dd85f54f9c18b42feea14057f7117dc69
parentf9e0c5ce1dbb77e1a4a2f2f3bc39176326dd3786 (diff)
BSD bugfixes.
-rw-r--r--m4/ax_lib_expat.m43
-rw-r--r--m4/ax_lib_xerces.m43
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
])