summaryrefslogtreecommitdiff
path: root/macros/gnome-xml-check.m4
diff options
context:
space:
mode:
authorFatih Demir <kabalak@src.gnome.org>2000-02-13 10:35:30 +0000
committerFatih Demir <kabalak@src.gnome.org>2000-02-13 10:35:30 +0000
commit4911f2024179335b2e013ba36b7fadbb7b554d70 (patch)
treee7f0c69136482e61afe687cd6381cd4a6d560b76 /macros/gnome-xml-check.m4
parent5a5589196428fe9a280030cfb3196ad278f48003 (diff)
downloadshared-mime-info-4911f2024179335b2e013ba36b7fadbb7b554d70.tar.gz
removed gtranslator for re-checkin
svn path=/trunk/; revision=1095
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 4bc91d12..00000000
--- 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)
-])