diff options
author | Andrew Hughes Chatham <chatham@src.gnome.org> | 2001-06-13 09:42:44 +0800 |
---|---|---|
committer | Andrew Hughes Chatham <chatham@src.gnome.org> | 2001-06-13 09:42:44 +0800 |
commit | f3b14e95468d39b8d5f33f31b96154de38ac4d07 (patch) | |
tree | c47d45efd6e9ddd24a6eb63f2d79121ad2bbdbcb | |
parent | ed1a06da11155cdeaea48fda6b930e799e905be1 (diff) | |
download | gsoc2013-evolution-f3b14e95468d39b8d5f33f31b96154de38ac4d07.tar gsoc2013-evolution-f3b14e95468d39b8d5f33f31b96154de38ac4d07.tar.gz gsoc2013-evolution-f3b14e95468d39b8d5f33f31b96154de38ac4d07.tar.bz2 gsoc2013-evolution-f3b14e95468d39b8d5f33f31b96154de38ac4d07.tar.lz gsoc2013-evolution-f3b14e95468d39b8d5f33f31b96154de38ac4d07.tar.xz gsoc2013-evolution-f3b14e95468d39b8d5f33f31b96154de38ac4d07.tar.zst gsoc2013-evolution-f3b14e95468d39b8d5f33f31b96154de38ac4d07.zip |
Removing xerces tests. Didn't know this directory was in gnome-common
svn path=/trunk/; revision=10205
-rw-r--r-- | macros/xerces-version.pl | 13 | ||||
-rw-r--r-- | macros/xerces.m4 | 65 |
2 files changed, 0 insertions, 78 deletions
diff --git a/macros/xerces-version.pl b/macros/xerces-version.pl deleted file mode 100644 index 5c21b4e275..0000000000 --- a/macros/xerces-version.pl +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/perl - -$maj = 0; -$min = 0; -while (<>) { - if (/xerces-c(\d+)_(\d+)\.so$/) { - if ($1 > $maj || (\\$1 == $maj && \$2 > $min)) { - $maj = $1; - $min = $2; - } - } -} -print $maj,"_",$min diff --git a/macros/xerces.m4 b/macros/xerces.m4 deleted file mode 100644 index e502c8eb79..0000000000 --- a/macros/xerces.m4 +++ /dev/null @@ -1,65 +0,0 @@ -dnl Curses detection: Munged from curses.m4 which was munged from -dnl Midnight Commander's configure.in -dnl -dnl What it does: -dnl ============= -dnl -dnl - Determine which version of xerces is installed on the system -dnl - Do an AC_SUBST on the CURSES_INCLUDEDIR and CURSES_LIBS so that -dnl @CURSES_INCLUDEDIR@ and @CURSES_LIBS@ will be available in -dnl Makefile.in's - -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 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 -]) - - |