From 694c50e2c266f90eeb265fa5612c65c94d84c2e4 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 5 Apr 2002 19:45:20 +0000 Subject: [PATCH] Fix Tcl includes for Debian --- configure.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 5f55980..25cc0a4 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Zebra, Index Data Aps, 1994-2002 -dnl $Id: configure.in,v 1.33 2002-04-05 08:46:26 adam Exp $ +dnl $Id: configure.in,v 1.34 2002-04-05 19:45:20 adam Exp $ dnl AC_INIT(include/zebraver.h) AC_MSG_CHECKING(for package) @@ -49,7 +49,10 @@ if test -r ${tclconfig}/tclConfig.sh; then if test -r ${tclconfig}/../generic/tcl.h; then TCL_INCLUDE=-I${tclconfig}/../generic TCL_LIB="$TCL_BUILD_LIB_SPEC $TCL_LIBS" - else + elif test -d ${TCL_PREFIX}/include/tcl${TCL_VERSION}; then + TCL_INCLUDE=-I${TCL_PREFIX}/include/tcl${TCL_VERSION} + TCL_LIB="$TCL_LIB_SPEC $TCL_LIBS" + else TCL_INCLUDE=-I${TCL_PREFIX}/include TCL_LIB="$TCL_LIB_SPEC $TCL_LIBS" fi -- 1.7.10.4