From a05ffdfc3954f3df460fdb14a49cb23dbc24e001 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Thu, 10 Sep 1998 23:06:39 +0000 Subject: Added sample plugin svn path=/trunk/; revision=371 --- macros/gnome-xml-check.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'macros') diff --git a/macros/gnome-xml-check.m4 b/macros/gnome-xml-check.m4 index d1ffde9e27..accbabfc94 100644 --- a/macros/gnome-xml-check.m4 +++ b/macros/gnome-xml-check.m4 @@ -14,7 +14,11 @@ AC_DEFUN([GNOME_XML_HOOK],[ AC_MSG_ERROR(Could not find gnome-config) fi fi - AC_CHECK_LIB(xml, xmlNewDoc, [$1], [ + AC_CHECK_LIB(xml, xmlNewDoc, [ + $1 + AC_SUBST(GNOME_XML_LIB) + GNOME_XML_LIB=`gnome-config --libs xml` + ], [ if test x$2 = failure; then AC_MSG_ERROR(Could not link sample xml program) fi -- cgit