aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros/ChangeLog5
-rw-r--r--macros/gnome-xml-check.m43
2 files changed, 7 insertions, 1 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 5084178e6f..c9f129e0e3 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,8 @@
+1999-11-16 Jeff Garzik <jgarzik@mandrakesoft.com>
+
+ * gnome-xml-check.m4: always AC_SUBST GNOME_XML_LIB, so that
+ output variable will always be present.
+
1999-11-09 Eskil Heyn Olsen <deity@eskil.dk>
* gnome-pilot.m4: uses test -r instead of test -e, was reported as
diff --git a/macros/gnome-xml-check.m4 b/macros/gnome-xml-check.m4
index 2410f35db7..e43f4258c8 100644
--- a/macros/gnome-xml-check.m4
+++ b/macros/gnome-xml-check.m4
@@ -7,6 +7,8 @@ dnl Check for availability of the libxml library
dnl the XML parser uses libz if available too
dnl
+AC_SUBST(GNOME_XML_LIB)
+
AC_DEFUN([GNOME_XML_HOOK],[
AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
if test "$GNOME_CONFIG" = no; then
@@ -16,7 +18,6 @@ AC_DEFUN([GNOME_XML_HOOK],[
fi
AC_CHECK_LIB(xml, xmlNewDoc, [
$1
- AC_SUBST(GNOME_XML_LIB)
GNOME_XML_LIB=`$GNOME_CONFIG --libs xml`
], [
if test x$2 = xfailure; then