aboutsummaryrefslogtreecommitdiffstats
path: root/macros/xerces.m4
diff options
context:
space:
mode:
authorAndrew Hughes Chatham <chatham@src.gnome.org>2001-07-23 02:52:12 +0800
committerAndrew Hughes Chatham <chatham@src.gnome.org>2001-07-23 02:52:12 +0800
commit13c7f54818b9b6a25a47289768d17e5a885cec7a (patch)
treea506b52493f13ac96f4f85507151d59ebdcbfe6b /macros/xerces.m4
parentced2af332134dcdf783ef6d86d6f6ab8b948589b (diff)
downloadgsoc2013-evolution-13c7f54818b9b6a25a47289768d17e5a885cec7a.tar
gsoc2013-evolution-13c7f54818b9b6a25a47289768d17e5a885cec7a.tar.gz
gsoc2013-evolution-13c7f54818b9b6a25a47289768d17e5a885cec7a.tar.bz2
gsoc2013-evolution-13c7f54818b9b6a25a47289768d17e5a885cec7a.tar.lz
gsoc2013-evolution-13c7f54818b9b6a25a47289768d17e5a885cec7a.tar.xz
gsoc2013-evolution-13c7f54818b9b6a25a47289768d17e5a885cec7a.tar.zst
gsoc2013-evolution-13c7f54818b9b6a25a47289768d17e5a885cec7a.zip
Removing these macros from the global gnome macros directory. Sorry about that.
svn path=/trunk/; revision=11299
Diffstat (limited to 'macros/xerces.m4')
-rw-r--r--macros/xerces.m457
1 files changed, 0 insertions, 57 deletions
diff --git a/macros/xerces.m4 b/macros/xerces.m4
deleted file mode 100644
index bea87e2669..0000000000
--- a/macros/xerces.m4
+++ /dev/null
@@ -1,57 +0,0 @@
-dnl - Determine where and which version of xerces is installed on the system
-dnl - Author: Andrew Chatham
-
-AC_DEFUN([AC_CHECK_XERCES],[
- has_xerces=false
-
- CFLAGS=${CFLAGS--O}
-
- AC_ARG_WITH(xerces,
- [ --with-xerces=dir Specify the Xerces directory],[
- if test x$withval != x; then
- XERCES_INCLUDE_DIR="$withval/include"
- XERCES_LIB_DIR=$withval/lib
- fi
- ])
-
- AC_MSG_CHECKING(for xerces)
- if test x$XERCES_INCLUDE_DIR = x; then
- if test x$XERCESCROOT = x; then
- if test "x$prefix" != "xNONE"; then
- XERCESCROOT="$prefix"
- fi
- fi
- XERCES_INCLUDE_DIR=$XERCESCROOT/include
- fi
-
- if test x$XERCES_LIB_DIR = x; then
- XERCES_LIB_DIR=$XERCESCROOT/lib
- fi
-
- XERCES_VER=`ls $XERCES_LIB_DIR/libxerces*.so |
- perl $srcdir/macros/xerces-version.pl`
-
- if test "x$XERCES_VER" = "x0_0"; then
- AC_MSG_ERROR("You must have Xerces installed and set XERCESCROOT or use --with-xerces")
- else
- AC_MSG_RESULT(found)
- fi
-
- XERCES_LIBNAME=xerces-c
- XERCES_LIBRARY_NAMES=-l${XERCES_LIBNAME}${XERCES_VER}
- XERCES_LIBRARY_SEARCH_PATHS=-L${XERCES_LIB_DIR}
- XERCES_INCLUDE=-I${XERCES_INCLUDE_DIR}
-
- AC_SUBST(XERCES_LIBRARY_NAMES)
- AC_SUBST(XERCES_LIBNAME)
- AC_SUBST(XERCES_INCLUDE)
- AC_SUBST(XERCES_INCLUDE_DIR)
- AC_SUBST(XERCES_VER)
- AC_SUBST(XERCES_LIBRARY_SEARCH_PATHS)
-
- if test -f "${XERCES_INCLUDE_DIR}/util/XMLUniDefs.hpp"; then
- AC_DEFINE(HAVE_XMLUNIDEFS)
- fi
-])
-
-