summaryrefslogtreecommitdiff
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.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/gnome-xml-check.m4 b/macros/gnome-xml-check.m4
index 57887709..d1ffde9e 100644
--- a/macros/gnome-xml-check.m4
+++ b/macros/gnome-xml-check.m4
@@ -15,10 +15,10 @@ AC_DEFUN([GNOME_XML_HOOK],[
fi
fi
AC_CHECK_LIB(xml, xmlNewDoc, [$1], [
- if text x$2 = failure; then
+ if test x$2 = failure; then
AC_MSG_ERROR(Could not link sample xml program)
fi
- ], gnome-config --libs xml)
+ ], `gnome-config --libs xml`)
])
AC_DEFUN([GNOME_XML_CHECK], [