Fixed IRCLIENT_SHELL setting. IRTCL.1.4
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 3 Dec 2001 19:23:07 +0000 (19:23 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 3 Dec 2001 19:23:07 +0000 (19:23 +0000)
Makefile.in
configure.in

index 5b57763..836d29e 100644 (file)
@@ -1,7 +1,7 @@
 # IR toolkit for tcl/tk
 # (c) Index Data 1995-1999
 # See the file LICENSE for details.
-# $Id: Makefile.in,v 1.56 2001-12-03 18:52:06 adam Exp $
+# $Id: Makefile.in,v 1.57 2001-12-03 19:23:07 adam Exp $
 SHELL=/bin/sh
 
 # IrTcl Version
@@ -109,7 +109,7 @@ install: @ALL_SPEC@
        @if [ -f ir-tk ]; then \
                $(INSTALL_PROGRAM) ir-tk $(BUILD)$(BINDIR); \
        fi
-       @echo "#! $(BINDIR)/@IRCLIENT_SHELL@ -f" >head.bak; \
+       @echo "#! @IRCLIENT_SHELL@ -f" >head.bak; \
        cat head.bak client.tcl| sed "s,^set libdir LIBDIR,set libdir $(IRTCLDIR)," >client.bak; \
        $(INSTALL_PROGRAM) client.bak $(BUILD)$(BINDIR)/irclient; \
        if [ -f $(BUILD)$(IRTCLDIR)/irtdb.tcl ]; then \
index ace3902..3b03503 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.32 2001-12-03 18:52:06 adam Exp $
+dnl $Id: configure.in,v 1.33 2001-12-03 19:23:07 adam Exp $
 AC_INIT(ir-tcl.h)
 dnl ------ Substitutions
 AC_SUBST(CC)
@@ -53,7 +53,10 @@ if test "x$tclconfig" = xNONE; then
                prefix=/usr/local
        fi
         tclconfig=${prefix}/lib
+        IRCLIENT_SHELL=${prefix}/bin/wish
         prefix=${saveprefix}
+else
+        IRCLIENT_SHELL=/usr/bin/wish
 fi
 AC_MSG_CHECKING(for Tcl)
 if test -f ${tclconfig}/tclConfig.sh; then