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)
-## $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 \
noinst_PROGRAMS = zlint
-LDADD=../src/libyazcpp.la $(YAZLALIB) $(XSLT_LIBS)
+LDADD=../src/libyazcpp.la $(YAZLALIB)