aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-xml-check.m4
diff options
context:
space:
mode:
authornobody <nobody@localhost>2000-05-05 20:46:42 +0800
committernobody <nobody@localhost>2000-05-05 20:46:42 +0800
commit391eb2b6d01fc9a7e0d3ea63060330c2b301789f (patch)
tree436339dec15d4858b98b7a1517bf060df97a4ff1 /macros/gnome-xml-check.m4
parentf80ee8128bb94839d8a84cc620a209d37bbfa277 (diff)
downloadgsoc2013-evolution-pre-ettore.tar
gsoc2013-evolution-pre-ettore.tar.gz
gsoc2013-evolution-pre-ettore.tar.bz2
gsoc2013-evolution-pre-ettore.tar.lz
gsoc2013-evolution-pre-ettore.tar.xz
gsoc2013-evolution-pre-ettore.tar.zst
gsoc2013-evolution-pre-ettore.zip
This commit was manufactured by cvs2svn to create tag 'pre-ettore'.pre-ettore
svn path=/tags/pre-ettore/; revision=2814
Diffstat (limited to 'macros/gnome-xml-check.m4')
-rw-r--r--macros/gnome-xml-check.m430
1 files changed, 0 insertions, 30 deletions
diff --git a/macros/gnome-xml-check.m4 b/macros/gnome-xml-check.m4
deleted file mode 100644
index 4bc91d124d..0000000000
--- a/macros/gnome-xml-check.m4
+++ /dev/null
@@ -1,30 +0,0 @@
-dnl
-dnl GNOME_XML_HOOK (script-if-xml-found, failflag)
-dnl
-dnl If failflag is "failure", script aborts due to lack of XML
-dnl
-dnl Check for availability of the libxml library
-dnl the XML parser uses libz if available too
-dnl
-
-AC_DEFUN([GNOME_XML_HOOK],[
- AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
- if test "$GNOME_CONFIG" = no; then
- if test x$2 = xfailure; then
- AC_MSG_ERROR(Could not find gnome-config)
- fi
- fi
- AC_CHECK_LIB(xml, xmlNewDoc, [
- $1
- GNOME_XML_LIB=`$GNOME_CONFIG --libs xml`
- ], [
- if test x$2 = xfailure; then
- AC_MSG_ERROR(Could not link sample xml program)
- fi
- ], `$GNOME_CONFIG --libs xml`)
- AC_SUBST(GNOME_XML_LIB)
-])
-
-AC_DEFUN([GNOME_XML_CHECK], [
- GNOME_XML_HOOK([],failure)
-])