X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.ac;h=f2a9e5d09a91b23ccb3648bd07e39b8602aa2eca;hb=3fc87bc9adc573a29b4261a6c96c5350d8680a5a;hp=eac51c10e53d215da1e4f01bdd8c1dc5359684ee;hpb=a1c7ea4ea8821a0c837850f147893c0b35ae63dd;p=idzebra-moved-to-github.git diff --git a/configure.ac b/configure.ac index eac51c1..f2a9e5d 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ dnl Zebra, Index Data ApS, 1995-2006 -dnl $Id: configure.ac,v 1.30 2006-09-29 13:03:06 adam Exp $ +dnl $Id: configure.ac,v 1.31 2006-10-09 22:13:06 adam Exp $ dnl AC_PREREQ(2.59) AC_INIT([idzebra],[2.0.3],[adam@indexdata.dk]) @@ -117,8 +117,12 @@ if test -r ${tclconfig}/tclConfig.sh; then SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX SHLIB_VERSION=$TCL_SHLIB_VERSION AC_MSG_RESULT($TCL_VERSION) - AC_DEFINE(HAVE_TCL_H,1) - + + old_CPPFLAGS=$CPPFLAGS + CPPFLAGS="${TCL_INCLUDE} $CPPFLAGS" + AC_CHECK_HEADERS(tcl.h) + CPPFLAGS=${old_CPPFLAGS} + # The Mac OSX -framework causes problems with Libtool # and dependancy libs.. so apply Tcl libs everywhere bug #461 case $host in