diff options
author | nobody <nobody@localhost> | 2000-07-24 23:07:48 +0000 |
---|---|---|
committer | nobody <nobody@localhost> | 2000-07-24 23:07:48 +0000 |
commit | 71c6cbbbe3faa4caaa878c3ca362761f717df1ae (patch) | |
tree | 3972b59aa6351d8e9ab6b5a0a9a626b8092e3f5b /macros/gnome-xml-check.m4 | |
parent | 68fcb40dbe388b2c9065f2be5fef29d076f58f4b (diff) | |
download | gnome-common-stable_0_2.tar.gz |
This commit was manufactured by cvs2svn to create branch 'stable_0_2'.stable_0_2
svn path=/branches/stable_0_2/; revision=1343
Diffstat (limited to 'macros/gnome-xml-check.m4')
-rw-r--r-- | macros/gnome-xml-check.m4 | 30 |
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 4bc91d1..0000000 --- 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) -]) |