From: Adam Dickmeiss Date: Mon, 9 Oct 2006 22:13:06 +0000 (+0000) Subject: Added extra presence check for tcl.h, because some systems have X-Git-Tag: ZEBRA.2.0.6~101 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=e568c00ad91afbbfbd48743a8407a4af019c88a9;p=idzebra-moved-to-github.git Added extra presence check for tcl.h, because some systems have tclConfig.sh installed even though Tcl C headers are missing. --- 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