Remove XSLT config
authorAdam Dickmeiss <adam@indexdata.dk>
Sun, 11 Apr 2004 12:21:17 +0000 (12:21 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Sun, 11 Apr 2004 12:21:17 +0000 (12:21 +0000)
configure.in
zlint/Makefile.am

index adc865f..dcef686 100644 (file)
@@ -9,34 +9,6 @@ AM_DISABLE_SHARED
 AM_PROG_LIBTOOL
 
 YAZ_INIT(threads,2.0.12)
-
-AC_CHECK_FUNCS(setrlimit getrlimit gettimeofday)
-dnl
-dnl ----- libXSLT
-AC_SUBST(XSLT_LIBS)
-AC_SUBST(XSLT_CFLAGS)
-xsltdir=yes
-AC_ARG_WITH(xslt, [  --with-xslt[=PREFIX]      use libxslt in PREFIX],[xsltdir=$withval])
-if test "$xsltdir" = "yes"; then
-       for d in /usr /usr/local; do
-               if test -x $d/bin/xslt-config; then
-                       xsltdir=$d
-               fi
-       done
-fi
-if test "$xsltdir" != "no"; then
-       AC_MSG_CHECKING(for libXSLT)
-       if test -x $xsltdir/bin/xslt-config; then
-               XSLT_LIBS=`$xsltdir/bin/xslt-config --libs`
-               XSLT_CFLAGS=`$xsltdir/bin/xslt-config --cflags`
-               XSLT_VER=`$xsltdir/bin/xslt-config --version`
-               AC_MSG_RESULT($XSLT_VER)
-               AC_DEFINE(HAVE_XSLT)
-       else
-               AC_MSG_RESULT(Not found)
-       fi
-fi
-
 dnl
 dnl ----- DOCBOOK DTD
 AC_SUBST(DTD_DIR)
index 20d2c9c..d1ba481 100644 (file)
@@ -1,6 +1,6 @@
-## $Id: Makefile.am,v 1.5 2004-03-29 20:00:07 adam Exp $
+## $Id: Makefile.am,v 1.6 2004-04-11 12:21:17 adam Exp $
 
-AM_CXXFLAGS = $(YAZINC) -I$(srcdir)/../include $(XSLT_CFLAGS)
+AM_CXXFLAGS = $(YAZINC) -I$(srcdir)/../include
 
 zlint_SOURCES=zlint.cpp zlint.h \
  test-init-01.cpp \
@@ -17,4 +17,4 @@ zlint_SOURCES=zlint.cpp zlint.h \
 
 noinst_PROGRAMS = zlint
 
-LDADD=../src/libyazcpp.la $(YAZLALIB) $(XSLT_LIBS)
+LDADD=../src/libyazcpp.la $(YAZLALIB)