From a16706067d74cf68c0610accb9c611289ff7070e Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Mon, 7 Sep 1998 17:52:05 +0000 Subject: Fixed detection of xml in gnome-xml macros take 2 -mig svn path=/trunk/; revision=365 --- macros/gnome-xml-check.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macros/gnome-xml-check.m4 b/macros/gnome-xml-check.m4 index 5788770905..d1ffde9e27 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], [ -- cgit v1.2.3