X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=b61fbc65e39a5884348703c9fe1b1f00d73f81fd;hb=981098c7b427b4d3bbd986ac2d6b888c4e7bfc8b;hp=ea84476efbb24edc5939e012142ecfb3b6e95180;hpb=acb63831cbd1595325151f0829b8dc9ae3eb8fbe;p=idzebra-moved-to-github.git diff --git a/configure.in b/configure.in index ea84476..b61fbc6 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.131 2006-02-09 08:55:36 adam 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)