X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=7e891e8ce3e2df1ab692d316137afa563da707b9;hb=e972509d8d00575fc88767deeb64ffd8babf78d3;hp=3b03503c448727fc1d54415c0862bd9c1d49b896;hpb=59e46e96c64563d6fe80140f9961d9308dd95a21;p=ir-tcl-moved-to-github.git diff --git a/configure.in b/configure.in index 3b03503..7e891e8 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl IR toolkit for tcl/tk dnl (c) Index Data 1996-2001 dnl See the file LICENSE for details. -dnl $Id: configure.in,v 1.33 2001-12-03 19:23:07 adam Exp $ +dnl $Id: configure.in,v 1.34 2002-08-30 13:01:40 adam Exp $ AC_INIT(ir-tcl.h) dnl ------ Substitutions AC_SUBST(CC) @@ -55,6 +55,15 @@ if test "x$tclconfig" = xNONE; then tclconfig=${prefix}/lib IRCLIENT_SHELL=${prefix}/bin/wish prefix=${saveprefix} + if test ! -r ${tclconfig}/tclConfig.sh; then + # Not found, try search for Tcl on Debian systems. + for d in /usr/lib/tcl*; do + if test -d $d; then + tclconfig=$d + IRCLIENT_SHELL=/usr/bin/wish + fi + done + fi else IRCLIENT_SHELL=/usr/bin/wish fi