Check-in [30437b03ab]
Not logged in
Overview
SHA1:30437b03ab6db13fbaa06e09b55275f6774f47d2
Date: 2000-07-01 22:18:08
User: johannes@zellner.org
Comment: 1. usable version after change to automake
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2000-07-01
22:19
[619e9324a0] Sun Jul 2 00:19:22 CEST 2000 (user: johannes@zellner.org, tags: trunk)
22:18
[30437b03ab] 1. usable version after change to automake (user: johannes@zellner.org, tags: trunk)
14:23
[9e7c008b8c] small fix in the completer so that it completes options (public variables) for itcl. (user: johannes@zellner.org, tags: trunk)
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Added ChangeLog version [3bc47770f1].

            1  +
            2  +2000-07-01  Johannes Zellner <johannes@zellner.org>
            3  +
            4  +     * switched to automake
            5  +     * small fix so that itcl config switches are correctly completed.

Added Makefile.am version [1de0d52142].

            1  +## -*- automake -*-
            2  +## FILE: "/home/joze/src/tclreadline/Makefile.am"
            3  +## LAST MODIFICATION: "Sun, 02 Jul 2000 00:01:52 +0200 (joze)"
            4  +## (C) 2000 by Johannes Zellner, <johannes@zellner.org>
            5  +## $Id$
            6  +## ---
            7  +## tclreadline -- gnu readline for tcl
            8  +## http://www.zellner.org/tclreadline/
            9  +## Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
           10  +## This software is copyright under the BSD license.
           11  +## ---
           12  +
           13  +## AUTOMAKE_OPTIONS = foreign
           14  +
           15  +lib_LTLIBRARIES = libtclreadline.la
           16  +
           17  +libtclreadline_la_SOURCES = config.h tclreadline.c tclreadline.h
           18  +INCLUDES = -I$(TCL_INCLUDE_DIR) -I$(READLINE_INCLUDE_DIR)
           19  +
           20  +## libtclreadline_la_LIBADD = $(LIBS)
           21  +libtclreadline_la_LDFLAGS = -release $(MAJOR).$(MINOR).$(PATCHLEVEL)
           22  +
           23  +tclrldir = @TCLRL_DIR@
           24  +tclrl_SCRIPTS = pkgIndex.tcl tclreadlineCompleter.tcl tclreadlineInit.tcl tclreadlineSetup.tcl
           25  +INSTALL_SCRIPT = ${INSTALL_DATA}
           26  +
           27  +man_MANS = tclreadline.n
           28  +

Deleted Makefile.in version [9a60e3319f].

     1         -# -*- make -*-
     2         -# FILE: "/home/joze/src/tclreadline/Makefile.in"
     3         -# LAST MODIFICATION: "Sat, 25 Mar 2000 20:50:24 +0100 (joze)"
     4         -# (C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
     5         -# $Id$
     6         -# ---
     7         -#
     8         -# tclreadline -- gnu readline for tcl
     9         -# http://www.zellner.org/tclreadline/
    10         -# Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
    11         -#
    12         -# This software is copyright under the BSD license.
    13         -#
    14         -# ================================================================== 
    15         -
    16         -
    17         -MAJOR_VERSION = @TCLREADLINE_MAJOR_VERSION@
    18         -MINOR_VERSION = @TCLREADLINE_MINOR_VERSION@
    19         -VERSION       = @TCLREADLINE_VERSION@
    20         -# NOTE, that PATCHLEVEL is the complete version string
    21         -#
    22         -PATCHLEVEL    = $(VERSION).@TCLREADLINE_PATCHLEVEL@
    23         -
    24         -#host         = @host@
    25         -#host_cpu     = @host_cpu@
    26         -#host_vendor  = @host_vendor@
    27         -#host_os      = @host_os@
    28         -
    29         -srcdir        = @srcdir@
    30         -VPATH         = @srcdir@
    31         -
    32         -#----------------------------------------------------------------
    33         -# Things you can change to personalize the Makefile for your own
    34         -# site (you can make these changes in either Makefile.in or
    35         -# Makefile, but changes to Makefile will get lost if you re-run
    36         -# the configuration script).
    37         -#----------------------------------------------------------------
    38         -
    39         -# Default top-level directories in which to install architecture-
    40         -# specific files (exec_prefix) and machine-independent files such
    41         -# as scripts (prefix).  The values specified here may be overridden
    42         -# at configure-time with the --exec-prefix and --prefix options
    43         -# to the "configure" script.
    44         -
    45         -prefix      = @prefix@
    46         -exec_prefix = @exec_prefix@
    47         -
    48         -bindir      = @bindir@
    49         -
    50         -# The following definition can be set to non-null for special systems
    51         -# like AFS with replication.  It allows the pathnames used for installation
    52         -# to be different than those used for actually reference files at
    53         -# run-time.  INSTALL_ROOT is prepended to $prefix and $exec_prefix
    54         -# when installing files.
    55         -INSTALL_ROOT =
    56         -
    57         -# Directory from which applications will reference the library of Tcl
    58         -# scripts (note: you can set the TCLREADLINE_LIBRARY environment variable at
    59         -# run-time to override the compiled-in location):
    60         -TCLREADLINE_LIBRARY = @TCLREADLINE_LIBRARY@
    61         -
    62         -# Path name to use when installing library scripts:
    63         -LIBRARY_INSTALL_DIR = $(INSTALL_ROOT)$(TCLREADLINE_LIBRARY)
    64         -
    65         -# Directory in which to install the archive libitk.a:
    66         -LIB_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/lib
    67         -
    68         -# Path to use at runtime to refer to LIB_INSTALL_DIR:
    69         -LIB_RUNTIME_DIR = $(exec_prefix)/lib
    70         -
    71         -# Top-level directory for manual entries:
    72         -# MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
    73         -MAN_INSTALL_DIR = $(INSTALL_ROOT)@mandir@
    74         -
    75         -# Directory in which to install manual entries for the built-in
    76         -# Tcl commands implemented by Tk:
    77         -MANN_INSTALL_DIR = $(MAN_INSTALL_DIR)/mann
    78         -
    79         -
    80         -# To change the compiler switches, for example to change from -O
    81         -# to -g, change the following line:
    82         -CFLAGS = @CFLAGS@
    83         -CPPFLAGS = @CPPFLAGS@
    84         -
    85         -# To disable ANSI-C procedure prototypes reverse the comment characters
    86         -# on the following lines:
    87         -PROTO_FLAGS =
    88         -#PROTO_FLAGS = -DNO_PROTOTYPE
    89         -
    90         -
    91         -# Some versions of make, like SGI's, use the following variable to
    92         -# determine which shell to use for executing commands:
    93         -SHELL = /bin/sh
    94         -
    95         -# Tk used to let the configure script choose which program to use
    96         -# for installing, but there are just too many different versions of
    97         -# "install" around;  better to use the install-sh script that comes
    98         -# with the distribution, which is slower but guaranteed to work.
    99         -
   100         -INSTALL         = $(TOP_DIR)/aux/install-sh -c
   101         -# INSTALL         = @INSTALL@
   102         -INSTALL_PROGRAM = ${INSTALL}
   103         -INSTALL_DATA    = ${INSTALL} -m 644
   104         -MKINSTALLDIRS   = $(TOP_DIR)/aux/mkinstalldirs
   105         -
   106         -# The symbols below provide support for dynamic loading and shared
   107         -# libraries.  The values of the symbols are normally set by the
   108         -# configure script.  You shouldn't normally need to modify any of
   109         -# these definitions by hand.
   110         -
   111         -SHLIB_CFLAGS = @SHLIB_CFLAGS@
   112         -
   113         -
   114         -# The symbol below provides support for dynamic loading and shared
   115         -# libraries.  See configure.in for a description of what it means.
   116         -# The values of the symbolis normally set by the configure script.
   117         -
   118         -SHLIB_LD = @SHLIB_LD@
   119         -
   120         -#----------------------------------------------------------------
   121         -# The information below is modified by the configure script when
   122         -# Makefile is generated from Makefile.in.  You shouldn't normally
   123         -# modify any of this stuff by hand.
   124         -#----------------------------------------------------------------
   125         -
   126         -RANLIB               = @RANLIB@
   127         -TOP_DIR              = $(srcdir)
   128         -TCL_INCLUDE_DIR      = @TCL_INCLUDE_DIR@
   129         -TCL_LIB_SPEC         = @TCL_LIB_SPEC@
   130         -TK_LIB_SPEC          = @TK_LIB_SPEC@
   131         -READLINE_INCLUDE_DIR = @READLINE_INCLUDE_DIR@
   132         -TCLREADLINE_LIB_FILE = @TCLREADLINE_LIB_FILE@
   133         -
   134         -READLINE_LIB         = @READLINE_LIB_DIR@ -lreadline
   135         -TERMLIB              = @TERMLIB@
   136         -TERMLIB_DIR          = @TERMLIB_DIR@
   137         -
   138         -#----------------------------------------------------------------
   139         -# The information below should be usable as is.  The configure
   140         -# script won't modify it and you shouldn't need to modify it
   141         -# either.
   142         -#----------------------------------------------------------------
   143         -
   144         -
   145         -CC   = @CC@
   146         -DEFS = @DEFS@
   147         -
   148         -CC_SWITCHES = $(CFLAGS) $(SHLIB_CFLAGS) -I$(TOP_DIR) \
   149         -        -I$(TCL_INCLUDE_DIR) -I$(READLINE_INCLUDE_DIR)
   150         -
   151         -OBJS = tclreadline.o
   152         -
   153         -CSRCS = $(TOP_DIR)/tclreadline.c
   154         -TCLFILES = tclreadlineInit.tcl tclreadlineSetup.tcl tclreadlineCompleter.tcl
   155         -
   156         -SOURCES = \
   157         -    COPYING \
   158         -    AUTHORS \
   159         -    Makefile.in \
   160         -    README \
   161         -    configure.in \
   162         -    pkgIndex.tcl.in \
   163         -    sample.tclshrc \
   164         -    sources \
   165         -    config.h.in \
   166         -    tclreadline.c \
   167         -    tclreadline.h.in \
   168         -    tclreadline.n.in \
   169         -    tclreadlineConfig.sh.in \
   170         -    tclreadlineInit.tcl.in \
   171         -    tclreadlineSetup.tcl.in \
   172         -    tclreadlineCompleter.tcl \
   173         -    tclshrl.c \
   174         -    wishrl.c
   175         -
   176         -MISC = TODO
   177         -
   178         -AUXILIARY = \
   179         -    aux/config.guess \
   180         -    aux/config.sub \
   181         -    aux/install-sh \
   182         -    aux/mkinstalldirs \
   183         -    aux/vimtags
   184         -
   185         -MAN = tclreadline.n
   186         -HTML = tclreadline.n.html
   187         -
   188         -
   189         -all: $(TCLREADLINE_LIB_FILE)
   190         -
   191         -
   192         -.PHONY: clean distclean ctags tcltags vimtags tags ci co
   193         -
   194         -.SUFFIXES: .c .o .so .sl .tcl
   195         -
   196         -
   197         -
   198         -@TCLREADLINE_LIB_FILE@: ${OBJS}
   199         -	rm -f $(TCLREADLINE_LIB_FILE)
   200         -	@MAKE_LIB@ $(TERMLIB_DIR) $(READLINE_LIB) $(TERMLIB)
   201         -	$(RANLIB) $(TCLREADLINE_LIB_FILE)
   202         -
   203         -shells: tclshrl wishrl
   204         -
   205         -tclshrl: $(OBJS) tclshrl.o
   206         -	$(CC) -o tclshrl tclshrl.o $(OBJS) $(TERMLIB_DIR) $(READLINE_LIB) $(TERMLIB) $(TCL_LIB_SPEC)
   207         -
   208         -wishrl: $(OBJS) wishrl.o
   209         -	$(CC) -o wishrl wishrl.o $(OBJS) $(TERMLIB_DIR) $(READLINE_LIB) $(TERMLIB) $(TK_LIB_SPEC) $(TCL_LIB_SPEC)
   210         -
   211         -install: install-binaries install-libraries install-man
   212         -
   213         -install-shells: install-tclshrl install-wishrl
   214         -
   215         -install-tclshrl:
   216         -	$(MKINSTALLDIRS) $(bindir)
   217         -	$(INSTALL_PROGRAM) tclshrl $(bindir)/tclshrl
   218         -
   219         -install-wishrl:
   220         -	$(MKINSTALLDIRS) $(bindir)
   221         -	$(INSTALL_PROGRAM) wishrl $(bindir)/wishrl
   222         -
   223         -install-man: $(MANN_INSTALL_DIR)/$(MAN)
   224         -
   225         -install-binaries: $(TCLREADLINE_LIB_FILE)
   226         -	@$(MKINSTALLDIRS) $(LIBRARY_INSTALL_DIR)
   227         -	@echo "Installing $(TCLREADLINE_LIB_FILE)"
   228         -	@$(INSTALL_DATA) $(TCLREADLINE_LIB_FILE) \
   229         -            $(LIBRARY_INSTALL_DIR)/$(TCLREADLINE_LIB_FILE)
   230         -	@(cd $(LIBRARY_INSTALL_DIR); $(RANLIB) $(TCLREADLINE_LIB_FILE))
   231         -	chmod 555 $(LIBRARY_INSTALL_DIR)/$(TCLREADLINE_LIB_FILE)
   232         -
   233         -
   234         -install-libraries: tclreadlineInit.tcl tclreadlineSetup.tcl \
   235         -                   tclreadlineCompleter.tcl pkgIndex.tcl tclreadlineConfig.sh
   236         -	@$(MKINSTALLDIRS) $(LIBRARY_INSTALL_DIR)
   237         -	for f in \
   238         -            tclreadlineInit.tcl \
   239         -            tclreadlineSetup.tcl \
   240         -            tclreadlineCompleter.tcl \
   241         -            pkgIndex.tcl \
   242         -            tclreadlineConfig.sh\
   243         -        ; do \
   244         -            $(INSTALL_DATA) $$f $(LIBRARY_INSTALL_DIR) \
   245         -        ; done
   246         -
   247         -FORCE:
   248         -
   249         -$(MANN_INSTALL_DIR)/$(MAN): FORCE
   250         -	- $(INSTALL_DATA) $(srcdir)/$(MAN) $@ &&  chmod 644 $@
   251         -
   252         -tclreadline.n.html: tclreadline.n
   253         -	rman -f html $^ > $@
   254         -
   255         -Makefile: $(TOP_DIR)/Makefile.in
   256         -	$(SHELL) config.status
   257         -
   258         -clean:
   259         -	rm -f *.a *.o core errs *~ \#* tags* *.E a.out errors so_locations
   260         -
   261         -distclean: clean
   262         -	rm -f \
   263         -	Makefile *.so.* *.sl pkgIndex.tcl tclreadlineInit.tcl \
   264         -	tclreadlineSetup.tcl config.h tclreadline.h tclreadline.n \
   265         -	tclreadlineConfig.sh config.status config.log config.cache
   266         -
   267         -depend:
   268         -	makedepend -- $(CC_SWITCHES) -- $(CSRCS)
   269         -
   270         -configure: configure.in
   271         -	autoconf
   272         -
   273         -tclreadline.o:	$(TOP_DIR)/tclreadline.c Makefile
   274         -	$(CC) -c $(CC_SWITCHES) $(DEFS) $(TOP_DIR)/tclreadline.c
   275         -
   276         -tclshrl.o:	$(TOP_DIR)/tclshrl.c Makefile
   277         -	$(CC) -c $(CC_SWITCHES) $(DEFS) $(TOP_DIR)/tclshrl.c
   278         -
   279         -wishrl.o:	$(TOP_DIR)/wishrl.c Makefile
   280         -	$(CC) -c $(CC_SWITCHES) $(DEFS) $(TOP_DIR)/wishrl.c
   281         -
   282         -ctags:
   283         -	ctags -R
   284         -
   285         -tcltags: ctags tclreadlineInit.tcl.in tclreadlineSetup.tcl.in \
   286         -            tclreadlineCompleter.tcl
   287         -	tcltags -a tclreadlineInit.tcl.in tclreadlineSetup.tcl.in \
   288         -            tclreadlineCompleter.tcl
   289         -
   290         -vimtags: tcltags
   291         -	vimtags
   292         -
   293         -tags: vimtags
   294         -
   295         -
   296         -dist: distribution
   297         -distribution: $(SOURCES) configure $(AUXILIARY) tclreadline.n.html
   298         -	- mkdir -p dist/tclreadline-$(PATCHLEVEL)/aux
   299         -	- cp $(SOURCES) configure tclreadline.n.html dist/tclreadline-$(PATCHLEVEL)
   300         -	- cp $(AUXILIARY) dist/tclreadline-$(PATCHLEVEL)/aux
   301         -	(cd dist; tar zcvf tclreadline-$(PATCHLEVEL).tar.gz tclreadline-$(PATCHLEVEL); rm -rf tclreadline-$(PATCHLEVEL))
   302         -	- cp README dist/tclreadline-$(PATCHLEVEL).README
   303         -	- echo AddDescription '"<font size=+2 color=red><b>most recent version</b></font>"' tclreadline-$(PATCHLEVEL).tar.gz > dist/.htaccess
   304         -	- echo 'IndexOptions NameWidth=* SuppressHTMLPreamble FancyIndexing' >> dist/.htaccess
   305         -
   306         -
   307         -# DO NOT DELETE THIS LINE -- make depend depends on it.

Added NEWS version [da39a3ee5e].


Added SCENARIO version [797d1f2bf8].

            1  +
            2  +YOU TYPE:                         YOU GET:
            3  +
            4  +
            5  +=== SCENARIO 1 ===
            6  +
            7  +puts $<tab>                       puts $
            8  +                                      + a list of all variables ...
            9  +puts $t<tab>                      puts $t
           10  +                                      + a list of all variables
           11  +									    beginning with t ...
           12  +puts $tcl_pl<tab>                 puts $tcl_platform(
           13  +	                                  + a list of all array names of
           14  +									    tcl_platform
           15  +puts $tcl_platform(b<tab>         puts $tcl_platform(byteOrder)
           16  +
           17  +
           18  +
           19  +=== SCENARIO 2 ===
           20  +
           21  +button .b                         button .b
           22  +.b co<tab>                        .b configure 
           23  +.b co<tab><tab>                   .b configure
           24  +                                      + a list of all button options ...
           25  +.b co<tab><tab>-r<tab>            .b configure -relief 
           26  +.b co<tab><tab>-r<tab>g<tab>      .b configure -relief groove
           27  +
           28  +

Added autogen.sh version [30ac94cb0c].

            1  +#!/bin/sh
            2  +# FILE: "/home/joze/src/tclreadline/autogen.sh"
            3  +# LAST MODIFICATION: "Sat, 01 Jul 2000 17:31:39 +0200 (joze)"
            4  +# (C) 2000 by Johannes Zellner, <johannes@zellner.org>
            5  +# $Id$
            6  +
            7  +srcdir=`dirname $0`
            8  +test -z "$srcdir" && srcdir=.
            9  +
           10  +ORIGDIR=`pwd`
           11  +cd $srcdir
           12  +PROJECT=tclreadline
           13  +TEST_TYPE=-f
           14  +FILE=tclreadline.h
           15  +
           16  +DIE=0
           17  +
           18  +(autoconf --version) < /dev/null > /dev/null 2>&1 || {
           19  +	echo
           20  +	echo "You must have autoconf installed to compile $PROJECT."
           21  +	echo "Download the appropriate package for your distribution,"
           22  +	echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
           23  +	DIE=1
           24  +}
           25  +
           26  +(automake --version) < /dev/null > /dev/null 2>&1 || {
           27  +	echo
           28  +	echo "You must have automake installed to compile $PROJECT."
           29  +	echo "Get ftp://sourceware.cygnus.com/pub/automake/automake-1.4.tar.gz"
           30  +	echo "(or a newer version if it is available)"
           31  +	DIE=1
           32  +}
           33  +
           34  +if test "$DIE" -eq 1; then
           35  +	exit 1
           36  +fi
           37  +
           38  +test $TEST_TYPE $FILE || {
           39  +	echo "You must run this script in the top-level $PROJECT directory"
           40  +	exit 1
           41  +}
           42  +
           43  +if test -z "$*"; then
           44  +	echo "I am going to run ./configure with no arguments - if you wish "
           45  +        echo "to pass any to it, please specify them on the $0 command line."
           46  +fi
           47  +
           48  +case $CC in
           49  +*xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;;
           50  +esac
           51  +
           52  +aclocal $ACLOCAL_FLAGS
           53  +
           54  +# optionally feature autoheader
           55  +(autoheader --version)  < /dev/null > /dev/null 2>&1 && autoheader
           56  +
           57  +automake -a $am_opt
           58  +autoconf
           59  +cd $ORIGDIR
           60  +
           61  +$srcdir/configure --enable-maintainer-mode "$@"
           62  +

Deleted aux/install-sh version [2b1825e144].

     1         -#! /bin/sh
     2         -#
     3         -# install - install a program, script, or datafile
     4         -# This comes from X11R5 (mit/util/scripts/install.sh).
     5         -#
     6         -# Copyright 1991 by the Massachusetts Institute of Technology
     7         -#
     8         -# Permission to use, copy, modify, distribute, and sell this software and its
     9         -# documentation for any purpose is hereby granted without fee, provided that
    10         -# the above copyright notice appear in all copies and that both that
    11         -# copyright notice and this permission notice appear in supporting
    12         -# documentation, and that the name of M.I.T. not be used in advertising or
    13         -# publicity pertaining to distribution of the software without specific,
    14         -# written prior permission.  M.I.T. makes no representations about the
    15         -# suitability of this software for any purpose.  It is provided "as is"
    16         -# without express or implied warranty.
    17         -#
    18         -# Calling this script install-sh is preferred over install.sh, to prevent
    19         -# `make' implicit rules from creating a file called install from it
    20         -# when there is no Makefile.
    21         -#
    22         -# This script is compatible with the BSD install script, but was written
    23         -# from scratch.  It can only install one file at a time, a restriction
    24         -# shared with many OS's install programs.
    25         -
    26         -
    27         -# set DOITPROG to echo to test this script
    28         -
    29         -# Don't use :- since 4.3BSD and earlier shells don't like it.
    30         -doit="${DOITPROG-}"
    31         -
    32         -
    33         -# put in absolute paths if you don't have them in your path; or use env. vars.
    34         -
    35         -mvprog="${MVPROG-mv}"
    36         -cpprog="${CPPROG-cp}"
    37         -chmodprog="${CHMODPROG-chmod}"
    38         -chownprog="${CHOWNPROG-chown}"
    39         -chgrpprog="${CHGRPPROG-chgrp}"
    40         -stripprog="${STRIPPROG-strip}"
    41         -rmprog="${RMPROG-rm}"
    42         -mkdirprog="${MKDIRPROG-mkdir}"
    43         -
    44         -transformbasename=""
    45         -transform_arg=""
    46         -instcmd="$mvprog"
    47         -chmodcmd="$chmodprog 0755"
    48         -chowncmd=""
    49         -chgrpcmd=""
    50         -stripcmd=""
    51         -rmcmd="$rmprog -f"
    52         -mvcmd="$mvprog"
    53         -src=""
    54         -dst=""
    55         -dir_arg=""
    56         -
    57         -while [ x"$1" != x ]; do
    58         -    case $1 in
    59         -	-c) instcmd="$cpprog"
    60         -	    shift
    61         -	    continue;;
    62         -
    63         -	-d) dir_arg=true
    64         -	    shift
    65         -	    continue;;
    66         -
    67         -	-m) chmodcmd="$chmodprog $2"
    68         -	    shift
    69         -	    shift
    70         -	    continue;;
    71         -
    72         -	-o) chowncmd="$chownprog $2"
    73         -	    shift
    74         -	    shift
    75         -	    continue;;
    76         -
    77         -	-g) chgrpcmd="$chgrpprog $2"
    78         -	    shift
    79         -	    shift
    80         -	    continue;;
    81         -
    82         -	-s) stripcmd="$stripprog"
    83         -	    shift
    84         -	    continue;;
    85         -
    86         -	-t=*) transformarg=`echo $1 | sed 's/-t=//'`
    87         -	    shift
    88         -	    continue;;
    89         -
    90         -	-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
    91         -	    shift
    92         -	    continue;;
    93         -
    94         -	*)  if [ x"$src" = x ]
    95         -	    then
    96         -		src=$1
    97         -	    else
    98         -		# this colon is to work around a 386BSD /bin/sh bug
    99         -		:
   100         -		dst=$1
   101         -	    fi
   102         -	    shift
   103         -	    continue;;
   104         -    esac
   105         -done
   106         -
   107         -if [ x"$src" = x ]
   108         -then
   109         -	echo "install:	no input file specified"
   110         -	exit 1
   111         -else
   112         -	true
   113         -fi
   114         -
   115         -if [ x"$dir_arg" != x ]; then
   116         -	dst=$src
   117         -	src=""
   118         -	
   119         -	if [ -d $dst ]; then
   120         -		instcmd=:
   121         -	else
   122         -		instcmd=mkdir
   123         -	fi
   124         -else
   125         -
   126         -# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
   127         -# might cause directories to be created, which would be especially bad 
   128         -# if $src (and thus $dsttmp) contains '*'.
   129         -
   130         -	if [ -f $src -o -d $src ]
   131         -	then
   132         -		true
   133         -	else
   134         -		echo "install:  $src does not exist"
   135         -		exit 1
   136         -	fi
   137         -	
   138         -	if [ x"$dst" = x ]
   139         -	then
   140         -		echo "install:	no destination specified"
   141         -		exit 1
   142         -	else
   143         -		true
   144         -	fi
   145         -
   146         -# If destination is a directory, append the input filename; if your system
   147         -# does not like double slashes in filenames, you may need to add some logic
   148         -
   149         -	if [ -d $dst ]
   150         -	then
   151         -		dst="$dst"/`basename $src`
   152         -	else
   153         -		true
   154         -	fi
   155         -fi
   156         -
   157         -## this sed command emulates the dirname command
   158         -dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
   159         -
   160         -# Make sure that the destination directory exists.
   161         -#  this part is taken from Noah Friedman's mkinstalldirs script
   162         -
   163         -# Skip lots of stat calls in the usual case.
   164         -if [ ! -d "$dstdir" ]; then
   165         -defaultIFS='	
   166         -'
   167         -IFS="${IFS-${defaultIFS}}"
   168         -
   169         -oIFS="${IFS}"
   170         -# Some sh's can't handle IFS=/ for some reason.
   171         -IFS='%'
   172         -set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
   173         -IFS="${oIFS}"
   174         -
   175         -pathcomp=''
   176         -
   177         -while [ $# -ne 0 ] ; do
   178         -	pathcomp="${pathcomp}${1}"
   179         -	shift
   180         -
   181         -	if [ ! -d "${pathcomp}" ] ;
   182         -        then
   183         -		$mkdirprog "${pathcomp}"
   184         -	else
   185         -		true
   186         -	fi
   187         -
   188         -	pathcomp="${pathcomp}/"
   189         -done
   190         -fi
   191         -
   192         -if [ x"$dir_arg" != x ]
   193         -then
   194         -	$doit $instcmd $dst &&
   195         -
   196         -	if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
   197         -	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
   198         -	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
   199         -	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
   200         -else
   201         -
   202         -# If we're going to rename the final executable, determine the name now.
   203         -
   204         -	if [ x"$transformarg" = x ] 
   205         -	then
   206         -		dstfile=`basename $dst`
   207         -	else
   208         -		dstfile=`basename $dst $transformbasename | 
   209         -			sed $transformarg`$transformbasename
   210         -	fi
   211         -
   212         -# don't allow the sed command to completely eliminate the filename
   213         -
   214         -	if [ x"$dstfile" = x ] 
   215         -	then
   216         -		dstfile=`basename $dst`
   217         -	else
   218         -		true
   219         -	fi
   220         -
   221         -# Make a temp file name in the proper directory.
   222         -
   223         -	dsttmp=$dstdir/#inst.$$#
   224         -
   225         -# Move or copy the file name to the temp name
   226         -
   227         -	$doit $instcmd $src $dsttmp &&
   228         -
   229         -	trap "rm -f ${dsttmp}" 0 &&
   230         -
   231         -# and set any options; do chmod last to preserve setuid bits
   232         -
   233         -# If any of these fail, we abort the whole thing.  If we want to
   234         -# ignore errors from any of these, just make sure not to ignore
   235         -# errors from the above "$doit $instcmd $src $dsttmp" command.
   236         -
   237         -	if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
   238         -	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
   239         -	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
   240         -	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
   241         -
   242         -# Now rename the file to the real destination.
   243         -
   244         -	$doit $rmcmd -f $dstdir/$dstfile &&
   245         -	$doit $mvcmd $dsttmp $dstdir/$dstfile 
   246         -
   247         -fi &&
   248         -
   249         -
   250         -exit 0

Deleted aux/mkinstalldirs version [203739dbcf].

     1         -#! /bin/sh
     2         -# mkinstalldirs --- make directory hierarchy
     3         -# Author: Noah Friedman <friedman@prep.ai.mit.edu>
     4         -# Created: 1993-05-16
     5         -# Public domain
     6         -
     7         -# $Id$
     8         -
     9         -errstatus=0
    10         -
    11         -for file
    12         -do
    13         -   set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
    14         -   shift
    15         -
    16         -   pathcomp=
    17         -   for d
    18         -   do
    19         -     pathcomp="$pathcomp$d"
    20         -     case "$pathcomp" in
    21         -       -* ) pathcomp=./$pathcomp ;;
    22         -     esac
    23         -
    24         -     if test ! -d "$pathcomp"; then
    25         -        echo "mkdir $pathcomp" 1>&2
    26         -
    27         -        mkdir "$pathcomp" || lasterr=$?
    28         -
    29         -        if test ! -d "$pathcomp"; then
    30         -  	  errstatus=$lasterr
    31         -        fi
    32         -     fi
    33         -
    34         -     pathcomp="$pathcomp/"
    35         -   done
    36         -done
    37         -
    38         -exit $errstatus
    39         -
    40         -# mkinstalldirs ends here

Modified config.h.in from [a5e8c60d77] to [442fbdc2be].

            1  +/* config.h.in.  Generated automatically from configure.in by autoheader.  */
            2  +
            3  +/* Define to empty if the keyword does not work.  */
            4  +#undef const
            5  +
            6  +/* Define if you have the ANSI C header files.  */
            7  +#undef STDC_HEADERS
            8  +
            9  +/* Define if you have the <string.h> header file.  */
           10  +#undef HAVE_STRING_H
           11  +
           12  +/* Define if you have the readline library (-lreadline).  */
           13  +#undef HAVE_LIBREADLINE
           14  +
           15  +/* Name of package */
           16  +#undef PACKAGE
           17  +
           18  +/* Version number of package */
           19  +#undef VERSION
     1     20   
     2         - /* ==================================================================
     3         -   
     4         -    FILE: "/home/joze/src/tclreadline/config.h.in"
     5         -    LAST MODIFICATION: "Sat, 25 Mar 2000 20:46:56 +0100 (joze)"
     6         -    (C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
     7         -    $Id$
     8         -    vim:set ft=c:
     9         -    ---
           21  +/*  Define if we have libreadline.  */
           22  +#undef READLINE_LIBRARY
    10     23   
    11         -    tclreadline -- gnu readline for tcl
    12         -    http://www.zellner.org/tclreadline/
    13         -    Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
    14         -
    15         -    This software is copyright under the BSD license.
    16         -
    17         -    ================================================================== */  
    18         -
    19         -
           24  +/*  Define if _rl_executing_macro is resolved in libreadline.  */
    20     25   #undef EXECUTING_MACRO_HACK
    21     26   
           27  +/*  Define if rl_cleanup_after_signal is resolved in libreadline.  */
    22     28   #undef CLEANUP_AFER_SIGNAL
    23     29   
    24         -#undef READLINE_LIBRARY

Modified configure.in from [177d3bdd31] to [b3c80119aa].

     1      1   dnl -*- autoconf -*-
     2      2   dnl FILE: "/home/joze/src/tclreadline/configure.in"
     3         -dnl LAST MODIFICATION: "Sat, 01 Jul 2000 16:19:57 +0200 (joze)"
            3  +dnl LAST MODIFICATION: "Sun, 02 Jul 2000 00:12:15 +0200 (joze)"
     4      4   dnl (C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
     5      5   dnl $Id$
     6      6   dnl ---
     7         -dnl
     8      7   dnl tclreadline -- gnu readline for tcl
     9      8   dnl http://www.zellner.org/tclreadline/
    10      9   dnl Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
    11         -dnl
    12     10   dnl This software is copyright under the BSD license.
    13         -dnl
    14         -dnl ================================================================== */  
    15         -
    16     11   
    17     12   AC_INIT(tclreadline.c)
    18         -AC_CONFIG_HEADER(config.h)
           13  +AM_CONFIG_HEADER(config.h)
    19     14   AC_PREREQ(2.13)
    20     15   AC_REVISION($Revision$)
    21     16   AC_CONFIG_AUX_DIR(./aux)
    22     17   
    23         -TCLREADLINE_MAJOR_VERSION=1
    24         -TCLREADLINE_MINOR_VERSION=2
    25         -TCLREADLINE_PATCHLEVEL=1
    26         -TCLREADLINE_VERSION=$TCLREADLINE_MAJOR_VERSION.$TCLREADLINE_MINOR_VERSION
    27         -TCLREADLINE_PATCHLEVEL_STR=${TCLREADLINE_VERSION}.${TCLREADLINE_PATCHLEVEL}
    28         -VERSION=$TCLREADLINE_VERSION
           18  +MAJOR=2
           19  +MINOR=0
           20  +PATCHLEVEL=0
           21  +VERSION=$MAJOR.$MINOR
           22  +PATCHLEVEL_STR=$VERSION.$PATCHLEVEL
           23  +
           24  +AC_SUBST(MAJOR)
           25  +AC_SUBST(MINOR)
           26  +AC_SUBST(PATCHLEVEL)
           27  +AC_SUBST(VERSION)
           28  +AC_SUBST(PATCHLEVEL_STR)
           29  +
           30  +AM_INIT_AUTOMAKE(tclreadline, $VERSION)
           31  +
           32  +
           33  +AC_PROG_MAKE_SET
    29     34   
    30     35   dnl AM_INIT_AUTOMAKE(tclreadline, $VERSION)
    31     36   
    32     37   AC_CANONICAL_HOST
           38  +AC_PROG_CC
           39  +AC_EXEEXT
           40  +dnl AC_LIBTOOL_DLOPEN
           41  +AM_PROG_LIBTOOL
           42  +AC_SUBST(LIBTOOL_DEPS)
           43  +
           44  +if ${CONFIG_SHELL} ./libtool --features | grep "enable static" >/dev/null; then
           45  +  STATIC=-static
           46  +else
           47  +  STATIC=
           48  +fi
           49  +AC_SUBST(STATIC)
           50  +
           51  +AC_C_CONST
           52  +AC_PROG_INSTALL
           53  +AC_PROG_RANLIB
           54  +AC_PROG_LN_S
    33     55   
    34     56   
    35         -TCLREADLINE_LPATH=`echo $LD_LIBRARY_PATH $LD_RUN_PATH $LPATH | sed 's/:/ /g'`
    36         -TCLREADLINE_LPATH="$TCLREADLINE_LPATH /usr/local/lib /lib /usr/lib /usr/shlib"
    37         -
    38         -
    39         -#--------------------------------------------------------------------
    40         -#   See if there was a command-line option for where Tcl is;  if
    41         -#   not, search for Tcl.
    42         -#--------------------------------------------------------------------
    43         -
           57  +# -- WHICH TCL TO USE
    44     58   AC_ARG_WITH(
    45     59       tcl,
    46     60       [  --with-tcl=DIR          where to look for tclConfig.sh],
    47     61       tcl_search=$withval,
    48     62       tcl_search=""
    49     63   )
    50     64   
................................................................................
    55     69           TCL_LIB_DIR=$dir
    56     70           break
    57     71       fi
    58     72   done
    59     73   
    60     74   if test -z "$TCL_LIB_DIR"; then
    61     75       AC_MSG_ERROR(Can't find Tcl libraries.  Use --with-tcl to specify the directory containing tclConfig.sh on your system.)
    62         -else
    63         -    . $TCL_LIB_DIR/tclConfig.sh
    64         -    AC_MSG_RESULT($TCL_LIB_DIR/tclConfig.sh)
    65         -    AC_MSG_CHECKING([for your tcl version])
    66         -    AC_MSG_RESULT([$TCL_VERSION, patchlevel $TCL_PATCH_LEVEL])
    67     76   fi
    68     77   
    69         -#--------------------------------------------------------------------
    70         -#    eventually check for tkConfig.sh
    71         -#--------------------------------------------------------------------
           78  +. $TCL_LIB_DIR/tclConfig.sh
           79  +AC_MSG_RESULT($TCL_LIB_DIR/tclConfig.sh)
           80  +AC_MSG_CHECKING([for your tcl version])
           81  +AC_MSG_RESULT([$TCL_VERSION, patchlevel $TCL_PATCH_LEVEL])
    72     82   
    73         -tk_search="no"
    74         -AC_ARG_WITH(
    75         -    tk,
    76         -    [  --with-tk=DIR           where to look for tkConfig.sh],
    77         -    tk_search=$withval,
    78         -    tk_search="yes"
    79         -)
    80         -
    81         -if test "$tk_search" != "no"; then
    82         -    AC_MSG_CHECKING([which tkConfig.sh to use])
    83         -    TK_LIB_DIR=""
    84         -    for dir in $tk_search $TCL_LIB_DIR /usr/lib /usr/local/lib $exec_prefix/lib /usr/local/lib/unix /opt/tcl/lib; do
    85         -	if test -r $dir/tkConfig.sh; then
    86         -	    TK_LIB_DIR=$dir
    87         -	    break
    88         -	fi
    89         -    done
    90         -
    91         -    if ! test -z "$TK_LIB_DIR"; then
    92         -	. $TK_LIB_DIR/tkConfig.sh
    93         -	AC_MSG_RESULT($TK_LIB_DIR/tkConfig.sh)
    94         -	AC_MSG_CHECKING([for your tk version])
    95         -	AC_MSG_RESULT([$TK_VERSION, patchlevel $TK_PATCH_LEVEL])
    96         -	AC_SUBST(TK_LIB_SPEC)
    97         -    fi
    98         -fi
    99         -
   100         -#--------------------------------------------------------------------
   101         -#   Read in configuration information generated by Tcl for shared
   102         -#   libraries, and arrange for it to be substituted into our
   103         -#   Makefile.
   104         -#--------------------------------------------------------------------
   105         -
   106         -
   107         -SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
   108         -SHLIB_LD=$TCL_SHLIB_LD
   109         -if test $TCL_SHLIB_SUFFIX = ""; then
   110         -    AC_MSG_ERROR(TCL_SHLIB_SUFFIX not defined -- should be something like .so or .sl on unix.)
   111         -else
   112         -    SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX
   113         -fi
   114         -DL_LIBS=$TCL_DL_LIBS
   115         -LD_FLAGS=$TCL_LD_FLAGS
   116         -SHLIB_LD_LIBS=$TCL_SHLIB_LD_LIBS
   117         -TCLREADLINE_PACKAGE_PATH=$TCL_PACKAGE_PATH
   118         -
   119         -
   120         -#--------------------------------------------------------------------
   121         -#   Check, if tcl_version is > 8.0
   122         -#--------------------------------------------------------------------
           83  +# Check, if tcl_version is > 8.0
   123     84   if test $TCL_MAJOR_VERSION -lt 8; then
   124     85       AC_MSG_ERROR(need tcl 8.0 or higher.)
   125     86   fi
   126         -
   127     87   
   128     88   
   129     89   # -----------------------------------------------------------------------
   130     90   #   Set up a new default --prefix.
   131     91   # -----------------------------------------------------------------------
   132     92   
   133     93   # this is the default anyway:
   134     94   # AC_PREFIX_DEFAULT(/usr/local)
   135     95   
   136     96   if test "${prefix}" = "NONE"; then
   137     97       prefix=$TCL_PREFIX
   138     98   fi
   139         -if test "${exec_prefix}" = "NONE"; then
   140         -    exec_prefix=$TCL_EXEC_PREFIX
   141         -else
   142         -    TCLREADLINE_PACKAGE_PATH=${exec_prefix}/lib
   143         -fi
   144         -
   145         -TCLREADLINE_LIBRARY=${exec_prefix}/lib/tclreadline$TCLREADLINE_VERSION
   146         -
   147         -
   148         -# -----------------------------------------------------------------------
   149         -#   Check for some programs here.
   150         -# -----------------------------------------------------------------------
   151         -
   152         -AC_PROG_INSTALL
   153         -AC_PROG_RANLIB
   154         -AC_PROG_LN_S
   155         -
   156         -
   157         -
   158         -# -----------------------------------------------------------------------
   159         -#   Prefer the compiler, which was used
   160         -#   to build tcl.
   161         -# -----------------------------------------------------------------------
   162         -
   163         -
   164         -AC_ARG_ENABLE(gcc, [  --enable-gcc            allow use of gcc if available],
   165         -    [gcc_ok=$enableval], [gcc_ok=no])
   166         -if test "$gcc_ok" = "yes"; then
   167         -    AC_PROG_CC
   168         -else
   169         -    CC=$TCL_CC
   170         -    AC_SUBST(CC)
   171         -fi
   172         -
   173         -
   174         -
   175         -
   176         -# -----------------------------------------------------------------------
   177         -#   checking for the preprocessor.
   178         -#   FIXME: do we need this ?
   179         -# -----------------------------------------------------------------------
   180         -
   181         -AC_PROG_CPP
   182         -
   183         -
   184         -if test -z "$CFLAGS" ; then
   185         -    CFLAGS=$TCL_CFLAGS_OPTIMIZE
   186         -fi
   187         -
   188         -dnl #--------------------------------------------------------------------
   189         -dnl #   If this is gcc, add some extra compile flags.
   190         -dnl #--------------------------------------------------------------------
   191         -dnl 
   192         -dnl AC_MSG_CHECKING([whether C compiler is gcc])
   193         -dnl AC_CACHE_VAL(tclreadline_cv_prog_gcc,
   194         -dnl     AC_EGREP_CPP(_cc_is_gcc_, [
   195         -dnl #ifdef __GNUC__
   196         -dnl _cc_is_gcc_
   197         -dnl #endif
   198         -dnl ],      [tclreadline_cv_prog_gcc=yes], [tclreadline_cv_prog_gcc=no]))
   199         -dnl AC_MSG_RESULT([$tclreadline_cv_prog_gcc])
   200         -dnl 
   201         -dnl if test -z "$CFLAGS" ; then
   202         -dnl     CFLAGS=$TCL_CFLAGS_OPTIMIZE
   203         -dnl fi
   204         -dnl if test "$tclreadline_cv_prog_gcc" = "yes" ; then
   205         -dnl     CFLAGS="$CFLAGS -Wshadow -Wtraditional -Wall"
   206         -dnl fi
   207         -dnl 
   208         -dnl AC_MSG_CHECKING([default compiler flags])
   209         -dnl AC_ARG_WITH(cflags, [  --with-cflags=FLAGS     set compiler flags to FLAGS],
   210         -dnl     [CFLAGS="$with_cflags"])
   211         -dnl 
   212         -dnl AC_MSG_RESULT([$CFLAGS])
   213         -
   214         -if test "$TCL_CC" != "$CC" ; then
   215         -    echo ""
   216         -    echo "WARNING:  Compiler is $CC but Tcl was compiled with $TCL_CC"
   217         -    echo ""
   218         -fi
   219         -
   220         -#--------------------------------------------------------------------
   221         -#   The statements below define a collection of symbols related to
   222         -#   building libtclreadline as a shared library instead of a static library.
   223         -#   (static is not implemented yet anyway).
   224         -#--------------------------------------------------------------------
   225         -
   226         -AC_ARG_ENABLE(shared,
   227         -    [  --disable-shared        don't build libtclreadline as a shared library.],
   228         -    [ok=$enableval], [ok=yes])
   229         -if test "$ok" = "yes"; then
   230         -    if test ${TCL_SHARED_BUILD} = 0; then
   231         -        AC_MSG_ERROR(Tcl was not built with --enable-shared, so you can't use shared libraries.)
   232         -    fi
   233         -    SHLIB_CFLAGS="${SHLIB_CFLAGS}"
   234         -    eval "TCLREADLINE_LIB_FILE=libtclreadline${VERSION}${SHLIB_SUFFIX}"
   235         -    TCLREADLINE_PKG_FILE="[[file join [file dirname \$dir] ${TCLREADLINE_LIB_FILE}]]"
   236         -    MAKE_LIB="\$(SHLIB_LD) -o ${TCLREADLINE_LIB_FILE} \$(OBJS) ${SHLIB_LD_LIBS}"
   237         -    RANLIB=":"
   238         -else
   239         -    SHLIB_CFLAGS=""
   240         -    eval "TCLREADLINE_LIB_FILE=libtclreadline${VERSION}.a"
   241         -    TCLREADLINE_PKG_FILE="[[file join [file dirname \$dir] ${TCLREADLINE_LIB_FILE}]]"
   242         -    MAKE_LIB="ar cr ${TCLREADLINE_LIB_FILE} \${OBJS}"
   243         -fi
   244         -
   245         -# Note:  in the following variable, it's important to use the absolute
   246         -# path name of the Tcl directory rather than "..":  this is because
   247         -# AIX remembers this path and will attempt to use it at run-time to look
   248         -# up the Tcl library.
   249         -
   250         -if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
   251         -    TCLREADLINE_BUILD_LIB_SPEC="-L`pwd` -ltclreadline${VERSION}"
   252         -    TCLREADLINE_LIB_SPEC="-L${TCLREADLINE_LIBRARY} -ltclreadline${VERSION}"
   253         -else
   254         -    TCLREADLINE_BUILD_LIB_SPEC="-L`pwd` -ltclreadline`echo ${VERSION} | tr -d .`"
   255         -    TCLREADLINE_LIB_SPEC="-L${TCLREADLINE_LIBRARY} -ltclreadline`echo ${VERSION} | tr -d .`"
   256         -fi
   257         -
   258         -
   259         -
   260         -
   261         -# HEADER CHECKS
   262         -#
           99  +TCLRL_DIR="${prefix}/lib/tclreadline$VERSION"
          100  +AC_SUBST(TCLRL_DIR)
          101  +
          102  +# HEADERS
   263    103   AC_HEADER_STDC
   264         -
          104  +AC_CHECK_HEADERS(string.h)
   265    105   
   266    106   #--------------------------------------------------------------------
   267    107   #   Check for tcl.h
   268    108   #--------------------------------------------------------------------
   269    109   
   270    110   AC_ARG_WITH(tcl-includes,
   271    111               [  --with-tcl-includes=DIR where to look for tcl.h],
................................................................................
   291    131   
   292    132   
   293    133   #--------------------------------------------------------------------
   294    134   #   Check for readline.h
   295    135   #--------------------------------------------------------------------
   296    136   
   297    137   AC_ARG_WITH(readline-includes,
   298         -            [  --with-readline-includes=DIR
   299         -                          readline include files in DIR],
          138  +            [  --with-readline-includes=DIR readline include files in DIR],
   300    139               rl_includes=$withval, rl_includes="")
   301    140   
   302    141   AC_MSG_CHECKING([where to look for readline.h])
   303    142   READLINE_INCLUDE_DIR=""
   304    143   for dir in $rl_includes /usr/local/include/readline /usr/local/include /usr/include/readline /usr/include ; do
   305    144       if test -r $dir/readline.h; then
   306    145           READLINE_INCLUDE_DIR=$dir
................................................................................
   317    156       AC_MSG_RESULT($READLINE_INCLUDE_DIR/readline.h)
   318    157   	base="`(basename ${READLINE_INCLUDE_DIR}) 2>/dev/null`"
   319    158   	if test "x${base}" != "xreadline"; then
   320    159   		AC_DEFINE_UNQUOTED(READLINE_LIBRARY, 1, [ Define if we have libreadline. ])
   321    160   	fi
   322    161   fi
   323    162   
   324         -
   325         -
   326         -#--------------------------------------------------------------------
   327         -#   Check for libreadline
   328         -#--------------------------------------------------------------------
   329         -
   330    163   AC_ARG_WITH(readline-library,
   331         -            [  --with-readline-library=DIR
   332         -                          readline library files in DIR],
   333         -            rl_library=$withval, rl_library="")
   334         -
   335         -AC_MSG_CHECKING([where to look for libreadline$SHLIB_SUFFIX])
   336         -READLINE_LIB_DIR=""
   337         -READLINE_VERSION_SUFFIX=""
   338         -for dir in $rl_library $TCLREADLINE_LPATH $prefix/lib/readline; do
   339         -    if test -r $dir/libreadline$SHLIB_SUFFIX; then
   340         -        READLINE_LIB_DIR=$dir
   341         -        break
   342         -    fi
   343         -    if test -r $dir/libreadline$SHLIB_SUFFIX.4; then
   344         -        READLINE_VERSION_SUFFIX=".4"
   345         -        READLINE_LIB_DIR=$dir
   346         -        break
   347         -    fi
   348         -    if test -r $dir/libreadline$SHLIB_SUFFIX.4.0; then
   349         -        READLINE_VERSION_SUFFIX=".4.0"
   350         -        READLINE_LIB_DIR=$dir
   351         -        break
   352         -    fi
   353         -    if test -r $dir/libreadline$SHLIB_SUFFIX.3; then
   354         -        READLINE_VERSION_SUFFIX=".3"
   355         -        READLINE_LIB_DIR=$dir
   356         -        break
   357         -    fi
   358         -    if test -r $dir/libreadline$SHLIB_SUFFIX.3.0; then
   359         -        READLINE_VERSION_SUFFIX=".3.0"
   360         -        READLINE_LIB_DIR=$dir
   361         -        break
   362         -    fi
   363         -done
   364         -
   365         -if test -z "$READLINE_LIB_DIR"; then
   366         -    AC_MSG_ERROR([
   367         -  Can't find libreadline$SHLIB_SUFFIX.
   368         -  Use --with-readline-library to specify the directory
   369         -  containing libreadline$SHLIB_SUFFIX on your system.])
   370         -else
   371         -    AC_MSG_RESULT(${READLINE_LIB_DIR}/libreadline${SHLIB_SUFFIX}${READLINE_VERSION_SUFFIX})
   372         -fi
   373         -
   374         -READLINE_LIB_DIR="-L${READLINE_LIB_DIR}"
   375         -
   376         -
          164  +    [  --with-readline-library=DIR
          165  +		  lib spec to readline (e.g. '-L/usr/local/lib -lreadline')],
          166  +    LIBS="$LIBS $withval",
          167  +    AC_CHECK_LIB(readline, rl_callback_read_char, ,
          168  +	AC_MSG_RESULT([
          169  +	    Your readline version does not support readline's alternate interface.
          170  +	    Please upgrade to readline >= 2.2 and retry.
          171  +	])
          172  +	exit
          173  +    )
          174  +)
   377    175   
   378    176   # ---
   379    177   # check for the terminal library.
   380    178   # ---
   381    179   
   382         -olibs=${LIBS}
   383    180   AC_ARG_WITH(tlib-library,
   384         -            [  --with-tlib-library=DIR
   385         -                          where to search for curses / termcap],
   386         -            tlib_library=$withval, tlib_library="")
   387         -
   388         -AC_MSG_CHECKING([where to look for the terminal library])
   389         -TERMLIB_DIR=""
   390         -TERMLIB_VERSION_SUFFIX=""
   391         -for dir in $tlib_library $TCLREADLINE_LPATH $prefix/lib/; do
   392         -	for tlib in ncurses termlib termcap curses; do
   393         -		dnl It's possible that a library is found but it doesn't work
   394         -		dnl e.g., shared library that cannot be found
   395         -		dnl compile and run a test program to be sure
   396         -		dnl echo ""
   397         -		dnl echo ""
   398         -		LIBS="-L${dir} -l${tlib}"
   399         -		AC_TRY_RUN([
   400         -#ifdef HAVE_TERMCAP_H
   401         -# include <termcap.h>
   402         -#endif
   403         -main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }],
   404         -	res="OK", res="FAIL", res="FAIL")
   405         -		if test "$res" = "OK"; then
   406         -			TERMLIB_DIR=-L${dir}
   407         -			if test "`(uname) 2>/dev/null`" = SunOS &&
   408         -				uname -r | grep '^5' >/dev/null; then
   409         -				TERMLIB_DIR_R="${TERMLIB_DIR} -R${dir}"
   410         -			fi
   411         -			TERMLIB=-l${tlib}
   412         -			break
   413         -		fi
   414         -		if test "x${TERMLIB_DIR}" = "x"; then
   415         -			AC_MSG_RESULT($LIBS is unusable)
   416         -		else
   417         -			break
   418         -		fi
   419         -	done
   420         -	if test "x${TERMLIB_DIR}" != "x"; then
   421         -		break
          181  +    [  --with-tlib-library=DIR
          182  +		  lib spec to tlib (e.g. '-L/usr/local/lib -lncurses')],
          183  +    LIBS="$LIBS $withval",
          184  +    for tlib in ncurses termlib termcap curses; do
          185  +	brk=yes
          186  +	AC_CHECK_LIB($tlib, tputs, , brk=no)
          187  +	if test $brk == "yes"; then
          188  +	    HAVE_TLIB=yes
          189  +	    break
   422    190   	fi
   423         -done
   424         -
   425         -if test "x$TERMLIB_DIR" = "x"; then
          191  +    done
          192  +    if test "x" = "x$HAVE_TLIB"; then
   426    193   	AC_MSG_ERROR([
   427         -no terminal library found. Please retry with the --with-tlib argument.])
   428         -else
   429         -	AC_MSG_RESULT(${TERMLIB_DIR} ${TERMLIB})
   430         -fi
   431         -
   432         -
   433         -#--------------------------------------------------------------------
   434         -#   Check for appropriate version of gnu readline
   435         -#   (older versions of gnu readline don't have
   436         -#    rl_callback_read_char ()).
   437         -#--------------------------------------------------------------------
   438         -
   439         -LIBS="${READLINE_LIB_DIR} ${TERMLIB_DIR} -lreadline $TERMLIB $olibs"
   440         -alternate=no
   441         -AC_CHECK_FUNC(
   442         -    rl_callback_read_char, alternate=yes, alternate=no
          194  +	    no terminal library found. Please retry with the --with-tlib argument.
          195  +	])
          196  +    fi
   443    197   )
   444         -if test "$alternate" = "no"; then
   445         -    AC_MSG_ERROR(alternate interface not supported by this readline version.)
   446         -fi
   447    198   
   448    199   
   449    200   # check for readline's (macro.c) private variable
   450    201   # _rl_executing_macro.
   451    202   
   452    203   AC_MSG_CHECKING([for _rl_executing_macro in -lreadline])
   453    204   AC_TRY_LINK(,[
................................................................................
   481    232       fprintf(fp, "%s", rl_library_version);
   482    233       close(fp);
   483    234       return 0;
   484    235   }],
   485    236       READLINE_VERSION=`cat conftestversion`
   486    237       AC_MSG_RESULT($READLINE_VERSION),
   487    238       AC_MSG_RESULT(failed),
   488         -    AC_MSG_RESULT(no cross compiling))
   489         -
   490         -
          239  +    AC_MSG_RESULT(no cross compiling)
          240  +)
   491    241   
   492    242   
   493         -# This is a test
   494         -#AC_C_BIGENDIAN
   495         -
   496         -# TODO: check for readline version
   497         -# (link testprogram with -lreadline)
   498         -
   499         -AC_SUBST(TCLREADLINE_MAJOR_VERSION)
   500         -AC_SUBST(TCLREADLINE_MINOR_VERSION)
   501         -AC_SUBST(TCLREADLINE_VERSION)
   502         -AC_SUBST(TCLREADLINE_PATCHLEVEL)
   503         -AC_SUBST(TCLREADLINE_LIBRARY)
   504         -AC_SUBST(TCLREADLINE_PATCHLEVEL_STR)
   505         -
   506         -
   507         -AC_SUBST(TCL_LIB_DIR)
   508         -AC_SUBST(TCL_LIB_SPEC)
   509    243   AC_SUBST(TCL_INCLUDE_DIR)
   510    244   AC_SUBST(READLINE_INCLUDE_DIR)
   511         -
   512         -AC_SUBST(CFLAGS)
   513         -AC_SUBST(DL_LIBS)
   514         -AC_SUBST(LD_FLAGS)
   515         -AC_SUBST(RANLIB)
   516         -
   517         -AC_SUBST(MAKE_LIB)
   518         -AC_SUBST(SHLIB_CFLAGS)
   519         -
   520         -AC_SUBST(SHLIB_LD)
   521         -AC_SUBST(SHLIB_LD_LIBS)
   522         -
   523         -AC_SUBST(SHLIB_SUFFIX)
   524         -
   525         -AC_SUBST(TERMLIB)
   526         -AC_SUBST(TERMLIB_DIR)
   527         -AC_SUBST(READLINE_LIB_DIR)
   528         -
   529         -AC_SUBST(TCLREADLINE_LIB_FILE)
   530         -AC_SUBST(TCLREADLINE_BUILD_LIB_SPEC)
   531         -AC_SUBST(TCLREADLINE_LIB_SPEC)
   532         -
   533         -AC_SUBST(TCLREADLINE_LIB_DIR)
   534         -AC_SUBST(TCLREADLINE_PKG_FILE)
   535         -
   536         -AC_SUBST(TCLREADLINE_PACKAGE_PATH)
   537         -
   538         -
   539         -AC_OUTPUT(Makefile tclreadline.h tclreadlineInit.tcl tclreadlineSetup.tcl tclreadlineConfig.sh tclreadline.n pkgIndex.tcl)
   540         -
   541         -
   542         -#TCL_CC='cc'
   543         -#TCL_CFLAGS_DEBUG='-g'
   544         -#TCL_CFLAGS_OPTIMIZE='-O'
   545         -#TCL_SHARED_BUILD=1
   546         -#
   547         -#TCL_PREFIX='/usr/local'
   548         -#TCL_EXEC_PREFIX='/usr/local'
   549         -#
   550         -#TCL_SHLIB_CFLAGS='-fPIC'
   551         -#TCL_SHLIB_LD='cc -shared'
   552         -#TCL_SHLIB_SUFFIX='.so'
   553         -#TCL_DL_LIBS='-ldl'
   554         -#TCL_LD_FLAGS='-rdynamic'
   555         -#TCL_LD_SEARCH_FLAGS=''
   556         -#TCL_RANLIB=':'
   557         -#TCL_PACKAGE_PATH='/usr/local/lib'
          245  +AC_OUTPUT(Makefile tclreadline.h tclreadlineInit.tcl tclreadlineSetup.tcl tclreadline.n pkgIndex.tcl)

Modified pkgIndex.tcl.in from [8b23387c17] to [030e7b1291].

     1      1   #!/usr/local/bin/tclsh
     2      2   # FILE: "/home/joze/src/tclreadline/pkgIndex.tcl.in"
     3         -# LAST MODIFICATION: "Sat, 25 Mar 2000 20:49:59 +0100 (joze)"
            3  +# LAST MODIFICATION: "Sat, 01 Jul 2000 21:53:04 +0200 (joze)"
     4      4   # (C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
     5      5   # $Id$
     6      6   # ---
     7         -#
     8      7   # tclreadline -- gnu readline for tcl
     9      8   # http://www.zellner.org/tclreadline/
    10      9   # Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
    11         -#
    12     10   # This software is copyright under the BSD license.
    13         -#
    14         -# ================================================================== 
    15     11   
    16         -package ifneeded tclreadline @TCLREADLINE_VERSION@ \
           12  +package ifneeded tclreadline @VERSION@ \
    17     13       [list source [file join $dir tclreadlineInit.tcl]]

Modified tclreadline.c from [1174583766] to [9af4c77029].

     1      1   
     2      2    /* ==================================================================
     3         -
     4      3       FILE: "/home/joze/src/tclreadline/tclreadline.c"
     5         -    LAST MODIFICATION: "Sat, 25 Mar 2000 21:40:27 +0100 (joze)"
            4  +    LAST MODIFICATION: "Sat, 01 Jul 2000 23:47:30 +0200 (joze)"
     6      5       (C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
     7      6       $Id$
     8      7       ---
     9         -
    10      8       tclreadline -- gnu readline for tcl
    11      9       http://www.zellner.org/tclreadline/
    12     10       Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
    13         -
    14     11       This software is copyright under the BSD license.
    15         -
    16     12       ================================================================== */  
    17     13   
    18     14   #ifdef HAVE_CONFIG_H
    19     15   #   include "config.h"
    20     16   #endif
    21     17   
    22     18   #include <tcl.h>
................................................................................
    28     24   #   include <readline.h>
    29     25   #   include <history.h>
    30     26   #else
    31     27   #   include <readline/readline.h>
    32     28   #   include <readline/history.h>
    33     29   #endif
    34     30   
    35         -/**
           31  +
           32  +/*
    36     33    * this prototype is missing
    37     34    * in readline.h
    38     35    */
    39     36   void rl_extend_line_buffer(int len);
    40     37   
    41     38   #ifdef EXECUTING_MACRO_HACK
    42     39   /**
................................................................................
   539    536   	(ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
   540    537       tclrl_interp = interp;
   541    538       if (TCL_OK != (status = Tcl_LinkVar(interp, "::tclreadline::historyLength",
   542    539   		(char*) &tclrl_history_length, TCL_LINK_INT)))
   543    540   	return status;
   544    541   
   545    542       if (TCL_OK != (status = Tcl_LinkVar(interp, "::tclreadline::library",
   546         -		(char*) &TCLRL_LIBRARY, TCL_LINK_STRING | TCL_LINK_READ_ONLY)))
          543  +		(char*) &tclrl_library, TCL_LINK_STRING | TCL_LINK_READ_ONLY)))
   547    544   	return status;
   548    545       if (TCL_OK != (status = Tcl_LinkVar(interp, "::tclreadline::version",
   549    546   		(char*) &TCLRL_VERSION, TCL_LINK_STRING | TCL_LINK_READ_ONLY)))
   550    547   	return status;
   551    548       if (TCL_OK != (status = Tcl_LinkVar(interp, "::tclreadline::patchLevel",
   552    549   		(char*) &TCLRL_PATCHLEVEL, TCL_LINK_STRING | TCL_LINK_READ_ONLY)))
   553    550   	return status;
   554    551       if (TCL_OK != (status = Tcl_LinkVar(interp, "::tclreadline::license",
   555    552   		(char*) &tclrl_license, TCL_LINK_STRING | TCL_LINK_READ_ONLY)))
   556    553   	return status;
   557    554   
   558    555       if (TCL_OK != (status = Tcl_LinkVar(interp, "tclreadline_library",
   559         -		(char*) &TCLRL_LIBRARY, TCL_LINK_STRING | TCL_LINK_READ_ONLY)))
          556  +		(char*) &tclrl_library, TCL_LINK_STRING | TCL_LINK_READ_ONLY)))
   560    557   	return status;
   561    558       if (TCL_OK != (status = Tcl_LinkVar(interp, "tclreadline_version",
   562    559   		(char*) &TCLRL_VERSION, TCL_LINK_STRING | TCL_LINK_READ_ONLY)))
   563    560   	return status;
   564    561       if (TCL_OK != (status = Tcl_LinkVar(interp, "tclreadline_patchLevel",
   565    562   		(char*) &TCLRL_PATCHLEVEL, TCL_LINK_STRING | TCL_LINK_READ_ONLY)))
   566    563   	return status;

Modified tclreadline.h.in from [af6b25ae5c] to [473c3d5ffb].

     1      1   
     2      2    /* ==================================================================
     3         -   
     4      3       FILE: "/home/joze/src/tclreadline/tclreadline.h.in"
     5         -    LAST MODIFICATION: "Sat, 25 Mar 2000 20:48:54 +0100 (joze)"
            4  +    LAST MODIFICATION: "Sat, 01 Jul 2000 23:46:41 +0200 (joze)"
     6      5       (C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
     7      6       $Id$
     8      7       vim:set ft=c:
     9      8       ---
    10         -
    11      9       tclreadline -- gnu readline for tcl
    12     10       http://www.zellner.org/tclreadline/
    13     11       Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
    14         -
    15     12       This software is copyright under the BSD license.
    16         -
    17     13       ================================================================== */  
    18     14   
    19         -static char *TCLRL_VERSION = "@TCLREADLINE_VERSION@";
           15  +static char *TCLRL_VERSION = "@VERSION@";
    20     16   
    21         -static char *TCLRL_LIBRARY = "@TCLREADLINE_LIBRARY@";
           17  +static char* tclrl_library = "@TCLRL_DIR@";
    22     18   
    23         -/**
           19  +/*
    24     20    * NOTE, that PATCHLEVEL is the complete version string.
    25     21    */
    26         -static char *TCLRL_PATCHLEVEL = "@TCLREADLINE_PATCHLEVEL_STR@";
           22  +static char *TCLRL_PATCHLEVEL = "@PATCHLEVEL_STR@";
    27     23   

Modified tclreadline.n.in from [b897c201a8] to [b7a2cbc600].

     1      1   .TH tclreadline n "@TCLREADLINE_VERSION@.@TCLREADLINE_PATCHLEVEL@" "Johannes Zellner"
     2      2   
     3      3   .\" FILE: "/home/joze/src/tclreadline/tclreadline.n.in"
     4         -.\" LAST MODIFICATION: "Sat, 25 Mar 2000 21:51:43 +0100 (joze)"
            4  +.\" LAST MODIFICATION: "Sat, 01 Jul 2000 21:52:43 +0200 (joze)"
     5      5   .\" (C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
     6      6   .\" $Id$
     7      7   .\" ---
     8         -.\"
     9      8   .\" tclreadline -- gnu readline for tcl
    10      9   .\" http://www.zellner.org/tclreadline/
    11     10   .\" Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
    12         -.\"
    13     11   .\" This software is copyright under the BSD license.
    14     12   
    15     13   
    16     14   .\"	# CS - begin code excerpt
    17     15   .de CS
    18     16   .RS
    19     17   .nf

Modified tclreadlineConfig.sh.in from [bb11ff1098] to [9e8fa4fdb5].

     1      1   #!/bin/sh
     2      2   # FILE: "/home/joze/src/tclreadline/tclreadlineConfig.sh.in"
     3         -# LAST MODIFICATION: "Sat, 25 Mar 2000 20:51:07 +0100 (joze)"
            3  +# LAST MODIFICATION: "Sat, 01 Jul 2000 21:52:25 +0200 (joze)"
     4      4   # (C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
     5      5   # $Id$
     6      6   # ---
     7         -#
     8      7   # tclreadline -- gnu readline for tcl
     9      8   # http://www.zellner.org/tclreadline/
    10      9   # Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
    11         -#
    12     10   # This software is copyright under the BSD license.
    13         -#
    14         -# ================================================================== 
           11  +# ---
    15     12   # 
    16     13   # This shell script (for sh) is generated automatically by tclreadline's
    17     14   # configure script.  It will create shell variables for most of
    18     15   # the configuration options discovered by the configure script.
    19     16   # This script is intended to be included by the configure scripts
    20     17   # for tclreadline extensions so that they don't have to figure this all
    21     18   # out for themselves.  This file does not duplicate information
    22     19   # already provided by tclConfig.sh, so you may need to use that
    23     20   # file in addition to this one.
    24     21   #
    25     22   # The information in this file is specific to a single platform.
    26     23   
    27     24   # tclreadline's version number.
    28         -TCLREADLINE_VERSION='@TCLREADLINE_VERSION@'
    29         -TCLREADLINE_MAJOR_VERSION='@TCLREADLINE_MAJOR_VERSION@'
    30         -TCLREADLINE_MINOR_VERSION='@TCLREADLINE_MINOR_VERSION@'
           25  +TCLREADLINE_VERSION='@VERSION@'
           26  +TCLREADLINE_MAJOR_VERSION='@MAJOR@'
           27  +TCLREADLINE_MINOR_VERSION='@MINOR@'
    31     28   # there's no leading dot here as in tclConfig.sh!
    32         -TCLREADLINE_PATCHLEVEL='@TCLREADLINE_PATCHLEVEL@'
           29  +TCLREADLINE_PATCHLEVEL='@PATCHLEVEL@'
    33     30   
    34         -# The name of the tclreadline library
    35         -# (may be either a .a file or a shared library):
    36         -TCLREADLINE_LIB_FILE=@TCLREADLINE_LIB_FILE@
    37         -
    38         -# String to pass to linker to pick up the tclreadline library from its
    39         -# build directory.
    40         -TCLREADLINE_BUILD_LIB_SPEC='@TCLREADLINE_BUILD_LIB_SPEC@'
    41         -
    42         -# String to pass to linker to pick up the tclreadline library from its
    43         -# installed directory.
    44         -TCLREADLINE_LIB_SPEC='@TCLREADLINE_LIB_SPEC@'
    45         -
    46         -# Location of the top-level source directories from which tclreadline
    47         -# was built.
    48         -TCLREADLINE_SRC_DIR='@srcdir@'

Modified tclreadlineInit.tcl.in from [8d6b0fc6f5] to [8b27a39294].

     1      1   #!/usr/local/bin/tclsh
     2      2   # FILE: "/home/joze/src/tclreadline/tclreadlineInit.tcl.in"
     3         -# LAST MODIFICATION: "Sat, 25 Mar 2000 20:51:17 +0100 (joze)"
            3  +# LAST MODIFICATION: "Sat, 01 Jul 2000 23:54:15 +0200 (joze)"
     4      4   # (C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
     5      5   # $Id$
     6      6   # ---
     7         -#
     8      7   # tclreadline -- gnu readline for tcl
     9      8   # http://www.zellner.org/tclreadline/
    10      9   # Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
    11         -#
    12     10   # This software is copyright under the BSD license.
    13         -#
    14         -# ================================================================== 
    15     11   
    16         -package provide tclreadline @TCLREADLINE_VERSION@
           12  +package provide tclreadline @VERSION@
    17     13   
    18     14   namespace eval tclreadline:: {
    19     15       namespace export Init
    20     16   }
    21     17   
    22     18   proc ::tclreadline::Init {} {
    23     19       uplevel #0 {
    24     20   	if ![info exists tclreadline::library] {
    25         -	    if [catch {load @TCLREADLINE_LIBRARY@/@TCLREADLINE_LIB_FILE@} msg] {
           21  +	    if [catch {load @TCLRL_DIR@/../libtclreadline[info sharedlibextension]} msg] {
    26     22   		puts stderr $msg
    27     23   		exit 2
    28     24   	    }
    29     25   	}
    30     26       }
    31     27   }
    32     28   

Modified tclreadlineSetup.tcl.in from [9146e47c18] to [c39b3436f6].

     1      1   #!/usr/locanl/bin/tclsh
     2      2   # FILE: "/home/joze/src/tclreadline/tclreadlineSetup.tcl.in"
     3         -# LAST MODIFICATION: "Sat, 25 Mar 2000 20:51:30 +0100 (joze)"
            3  +# LAST MODIFICATION: "Sat, 01 Jul 2000 21:53:28 +0200 (joze)"
     4      4   # (C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
     5      5   # $Id$
     6      6   # ---
     7         -#
     8      7   # tclreadline -- gnu readline for tcl
     9      8   # http://www.zellner.org/tclreadline/
    10      9   # Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
    11         -#
    12     10   # This software is copyright under the BSD license.
    13         -#
    14         -# ================================================================== 
    15     11   
    16     12   
    17         -package provide tclreadline @TCLREADLINE_VERSION@
           13  +package provide tclreadline @VERSION@
    18     14   
    19     15   proc unknown args {
    20     16   
    21     17       global auto_noexec auto_noload env unknown_pending tcl_interactive
    22     18       global errorCode errorInfo
    23     19   
    24     20       # Save the values of errorCode and errorInfo variables, since they