Better check on Debian for Tcl
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 2 Sep 2002 11:19:12 +0000 (11:19 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 2 Sep 2002 11:19:12 +0000 (11:19 +0000)
configure.in

index 7e891e8..7fe3522 100644 (file)
@@ -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.34 2002-08-30 13:01:40 adam Exp $
+dnl $Id: configure.in,v 1.35 2002-09-02 11:19:12 adam Exp $
 AC_INIT(ir-tcl.h)
 dnl ------ Substitutions
 AC_SUBST(CC)
@@ -58,7 +58,7 @@ if test "x$tclconfig" = xNONE; then
         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
+                        if test -f $d/tclConfig.sh; then
                                 tclconfig=$d
                                IRCLIENT_SHELL=/usr/bin/wish
                         fi