diff options
author | gfarris <gfarris@src.gnome.org> | 2001-12-04 04:46:41 +0000 |
---|---|---|
committer | gfarris <gfarris@src.gnome.org> | 2001-12-04 04:46:41 +0000 |
commit | f10cfd3363be0389f7accd6b312fcbbd18b6ab72 (patch) | |
tree | 4e7ac6934eb9baab9a516458ab5d3f7edd5dfae8 /macros/gnome-xml-check.m4 | |
parent | ff6920f8c90d31dd70674f5f6ec756b58376cfb9 (diff) | |
download | gnome-common-f10cfd3363be0389f7accd6b312fcbbd18b6ab72.tar.gz |
*** empty log message ***
svn path=/trunk/; revision=2169
Diffstat (limited to 'macros/gnome-xml-check.m4')
-rw-r--r-- | macros/gnome-xml-check.m4 | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/macros/gnome-xml-check.m4 b/macros/gnome-xml-check.m4 deleted file mode 100644 index 1caad10..0000000 --- a/macros/gnome-xml-check.m4 +++ /dev/null @@ -1,32 +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 - GNOME_XML_CFLAGS=`$GNOME_CONFIG --cflags xml` - AC_SUBST(GNOME_XML_CFLAGS) - 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) -]) |