aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-xml-check.m4
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-09-11 07:06:39 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-09-11 07:06:39 +0800
commita05ffdfc3954f3df460fdb14a49cb23dbc24e001 (patch)
treeb80e8ca4e3785acca6eb185aacdabf860057adee /macros/gnome-xml-check.m4
parente366ebc2086031b73e85420a6b37d96f8276529e (diff)
downloadgsoc2013-evolution-a05ffdfc3954f3df460fdb14a49cb23dbc24e001.tar.gz
gsoc2013-evolution-a05ffdfc3954f3df460fdb14a49cb23dbc24e001.tar.zst
gsoc2013-evolution-a05ffdfc3954f3df460fdb14a49cb23dbc24e001.zip
Added sample plugin
svn path=/trunk/; revision=371
Diffstat (limited to 'macros/gnome-xml-check.m4')
-rw-r--r--macros/gnome-xml-check.m46
1 files changed, 5 insertions, 1 deletions
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