aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-xml-check.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gnome-xml-check.m4')
-rw-r--r--macros/gnome-xml-check.m43
1 files changed, 2 insertions, 1 deletions
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