X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=c32ac27b142366cc120c85d01d2647a24aa8b42f;hb=6d3b83ae7e008f2d61326051b03f7f07d3cc2ef0;hp=ea84476efbb24edc5939e012142ecfb3b6e95180;hpb=acb63831cbd1595325151f0829b8dc9ae3eb8fbe;p=idzebra-moved-to-github.git diff --git a/configure.in b/configure.in index ea84476..c32ac27 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Zebra, Index Data ApS, 1995-2005 -dnl $Id: configure.in,v 1.129 2005-12-05 12:18:40 marc Exp $ +dnl $Id: configure.in,v 1.132 2006-02-17 14:06:06 marc Exp $ dnl AC_INIT(include/idzebra/version.h) AM_INIT_AUTOMAKE(idzebra,1.4.0) @@ -52,8 +52,8 @@ if test "$xsltdir" != "no"; then XSLT_VER=`$xsltdir/bin/xslt-config --version` AC_MSG_RESULT($XSLT_VER) have_xslt_version=`echo "$XSLT_VER" | awk 'BEGIN { FS = "."; } { printf "%d", ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'` - if test $have_xslt_version -lt 1001012; then - AC_MSG_WARN([libXSLT too old. Use 1.1.12 or later.]) + if test $have_xslt_version -lt 1001011; then + AC_MSG_WARN([libXSLT too old. Use 1.1.11 or later.]) XSLT_VER="" else XSLT_LIBS=`$xsltdir/bin/xslt-config --libs` @@ -106,6 +106,16 @@ if test -r ${tclconfig}/tclConfig.sh; then SHLIB_VERSION=$TCL_SHLIB_VERSION AC_MSG_RESULT($TCL_VERSION) AC_DEFINE(HAVE_TCL_H,1) + + # The Mac OSX -framework causes problems with Libtool + # and dependancy libs.. so apply Tcl libs everywhere + # bug #461 + case $host in + *-*-darwin*) + LIBS="$LIBS $TCL_LIB"; + ;; + esac + else AC_MSG_RESULT(Not found) AC_DEFINE(HAVE_TCL_H,0) @@ -351,7 +361,7 @@ AC_OUTPUT([ test/espec/Makefile test/filters/Makefile examples/Makefile examples/gils/Makefile examples/zthes/Makefile - examples/marc21/Makefile + examples/marc21/Makefile examples/alvis-oai/Makefile idzebra.spec idzebra-config Doxyfile