From 668b136879471079ce03b26981a5fd1b3a210bc1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 9 Oct 2006 22:13:06 +0000 Subject: [PATCH] Added extra presence check for tcl.h, because some systems have tclConfig.sh installed even though Tcl C headers are missing. --- configure.in | 8 ++++++-- perl/lib/IDZebra.pm | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 9c1907f..0b28cfd 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Zebra, Index Data Aps, 1995-2006 -dnl $Id: configure.in,v 1.91.2.28 2006-10-04 09:20:14 adam Exp $ +dnl $Id: configure.in,v 1.91.2.29 2006-10-09 22:13:06 adam Exp $ dnl AC_INIT(include/zebraver.h) AM_INIT_AUTOMAKE(idzebra,1.3.40) @@ -74,7 +74,11 @@ 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} else AC_MSG_RESULT(Not found) AC_DEFINE(HAVE_TCL_H,0) diff --git a/perl/lib/IDZebra.pm b/perl/lib/IDZebra.pm index 87d88e5..6d251a9 100644 --- a/perl/lib/IDZebra.pm +++ b/perl/lib/IDZebra.pm @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG 1.3.28. +# This file was created automatically by SWIG 1.3.29. # Don't modify this file, modify the SWIG interface instead. package IDZebra; require Exporter; -- 1.7.10.4