Check-in [d9a3eefbfc]
Not logged in
Overview
Comment: * reenabled wishrl and tclshrl via configure switches
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | tclreadline-2-1-0
Files: files | file ages | folders
SHA1: d9a3eefbfcd5e47f3ef0da8c4855afefc1b8c13e
User & Date: johannes@zellner.org on 2000-12-08 00:45:45
Other Links: manifest | tags
Context
2000-12-08
00:50
Fri Dec 8 01:50:05 CET 2000 check-in: 7695f3855b user: johannes@zellner.org tags: trunk, tclreadline-2-1-0a
00:45
* reenabled wishrl and tclshrl via configure switches check-in: d9a3eefbfc user: johannes@zellner.org tags: trunk, tclreadline-2-1-0
2000-11-19
14:13
* configure.in: moved the tlib check before the libreadline check check-in: 769067ae30 user: johannes@zellner.org tags: trunk
Changes

Modified ChangeLog from [6c08b01ee3] to [c4a5fe325f].

1




2
3
4
5
6
7
8
1
2
3
4
5
6
7
8
9
10
11
12

+
+
+
+








2000-12-08  Johannes Zellner  <johannes@zellner.org>

    * reenabled wishrl and tclshrl via configure switches

2000-11-19  Johannes Zellner  <johannes@zellner.org>

    * configure.in: moved the tlib check before the libreadline check

2000-09-20  Johannes Zellner <johannes@zellner.org>

    * made tclreadline.h installing to ${prefix}/include

Modified Makefile.am from [69d8b6511b] to [b2c462c121].

1
2
3

4
5
6
7
8
9
10
1
2

3
4
5
6
7
8
9
10


-
+







## -*- automake -*-
## FILE: "/home/joze/src/tclreadline/Makefile.am"
## LAST MODIFICATION: "Mit, 20 Sep 2000 16:25:22 +0200 (joze)"
## LAST MODIFICATION: "Fre, 08 Dez 2000 01:34:51 +0100 (joze)"
## (C) 2000 by Johannes Zellner, <johannes@zellner.org>
## $Id$
## ---
## tclreadline -- gnu readline for tcl
## http://www.zellner.org/tclreadline/
## Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
## This software is copyright under the BSD license.
32
33
34
35
36
37
38
















39
40
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+


    aux/config.sub           \
    aux/install-sh           \
    aux/ltconfig             \
    aux/ltmain.sh            \
    aux/missing              \
    aux/mkinstalldirs

if STATIC_TCLSHRL
static_tclshrl = tclshrl
tclshrl_SOURCES = tclshrl.c
tclshrl_LDADD = libtclreadline.la $(TCL_LIB_SPEC)
tclshrl_LDFLAGS = -static
endif

if STATIC_WISHRL
static_wishrl = wishrl
wishrl_SOURCES = wishrl.c
wishrl_LDADD = libtclreadline.la $(TCL_LIB_SPEC) $(TK_LIB_SPEC)
wishrl_LDFLAGS = -static
endif

bin_PROGRAMS = $(static_tclshrl) $(static_wishrl)

man_MANS = tclreadline.n

Modified README from [2cef1bc23a] to [2a7d2b63a9].

1
2


3
4
5
6
7
8
9


1
2
3
4
5
6
7
8
9
-
-
+
+







FILE: "/disk01/home/joze/src/tclreadline/README"
LAST MODIFICATION: "Sun, 02 Jul 2000 00:24:48 +0200 (joze)"
FILE: "/home/joze/src/tclreadline/README"
LAST MODIFICATION: "Fre, 08 Dez 2000 01:42:39 +0100 (joze)"
(C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
$Id$
---

tclreadline -- gnu readline for tcl
http://www.zellner.org/tclreadline/
Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
44
45
46
47
48
49
50
51
52
53
54
55

56
57
58


59
60
61
62


63
64
65




66
67
68


69
70
71
72
73
74
75
76
44
45
46
47
48
49
50

51
52
53

54



55
56




57
58



59
60
61
62



63
64

65
66
67
68
69
70
71







-



-
+
-
-
-
+
+
-
-
-
-
+
+
-
-
-
+
+
+
+
-
-
-
+
+
-








    (b) Make sure you have gnu readline 2.2 or higher.
        tclreadline uses the gnu readline callback handler, which
        wasn't implemented in early releases.

    (c) The usual ./configure; make; make install sequence should do the rest.

####### DISABLED ########
    (d) Optionally (or additionally) you can build the executables
        tclshrl and / or wishrl which are a readline enhanced replacement
        for tclsh and wish. To compile these executable you should type
            make tclshrl

        or
            make wishrl
        or
	    ./configure --enable-tclshrl --enable-wishrl

            make shells
        the latter will compile both shells. To install these shells
        you should type
            make install-tclshrl
	(or one of these if you want just tclshrl or wishrl).
	NOTE that these executables need an installed version of
        or
            make install-wishrl
        or
	tclreadline because they need some script files to run
	so you can't test tclshrl/wishrl before installing
	the tclreadline scripts.

            make install-shells
        Building these executables is discouraged but necessary
        on systems which don't support shared libs.
        Building statically linked executables is DISCOURAGED
	but necessary on systems which don't support shared libs.
####### DISABLED ########


4. Using tclreadline for interactive tcl scripting.
---------------------------------------------------

copy the sample.tclshrc to $HOME/.tclshrc. If you use another interpreter
like wish, you should copy the file sample.tclshrc to $HOME/.wishrc

Modified configure.in from [aba8bc33bd] to [2b68a6ef3d].

1
2
3

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20


21
22
23
24
25
26
27
1
2

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


19
20
21
22
23
24
25
26
27


-
+















-
-
+
+







dnl -*- autoconf -*-
dnl FILE: "/home/joze/src/tclreadline/configure.in"
dnl LAST MODIFICATION: "Son, 19 Nov 2000 14:58:20 +0100 (joze)"
dnl LAST MODIFICATION: "Fre, 08 Dez 2000 01:36:25 +0100 (joze)"
dnl (C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
dnl $Id$
dnl ---
dnl tclreadline -- gnu readline for tcl
dnl http://www.zellner.org/tclreadline/
dnl Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
dnl This software is copyright under the BSD license.

AC_INIT(tclreadline.c)
AM_CONFIG_HEADER(config.h)
AC_PREREQ(2.13)
AC_REVISION($Revision$)
AC_CONFIG_AUX_DIR(./aux)

MAJOR=2
MINOR=0
PATCHLEVEL=5
MINOR=1
PATCHLEVEL=0
VERSION=$MAJOR.$MINOR
PATCHLEVEL_STR=$VERSION.$PATCHLEVEL

AC_SUBST(MAJOR)
AC_SUBST(MINOR)
AC_SUBST(PATCHLEVEL)
AC_SUBST(VERSION)
231
232
233
234
235
236
237
238




































239

240
241
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278








+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+


}],
    READLINE_VERSION=`cat conftestversion`
    AC_MSG_RESULT($READLINE_VERSION),
    AC_MSG_RESULT(failed),
    AC_MSG_RESULT(no cross compiling)
)


AC_ARG_ENABLE(tclshrl,
    [  --enable-tclshrl        build statically linked tclshrl],
    [dnl action if given
	case "${enableval}" in
	    yes) enable_static=true ;;
	    no)  enable_static=false ;;
	    *)   AC_MSG_ERROR(bad value ${enableval} for --enable-static) ;;
	esac
    ],
    [dnl action if not given
	enable_static=false
    ]
)
AM_CONDITIONAL(STATIC_TCLSHRL, test x$enable_static = xtrue)

AC_ARG_ENABLE(wishrl,
    [  --enable-wishrl         build statically linked wishrl],
    [dnl action if given
	case "${enableval}" in
	    yes)
		enable_static=true
		dnl source the tkConfig.sh which defines TK_LIB_SPEC
		. $TCL_LIB_DIR/tkConfig.sh
		AC_SUBST(TK_LIB_SPEC)
	    ;;
	    no)  enable_static=false ;;
	    *)   AC_MSG_ERROR(bad value ${enableval} for --enable-static) ;;
	esac
    ],
    [dnl action if not given
	enable_static=false
    ]
)
AM_CONDITIONAL(STATIC_WISHRL, test x$enable_static = xtrue)


AC_SUBST(TCL_INCLUDE_DIR)
AC_SUBST(TCL_LIB_SPEC)
AC_SUBST(READLINE_INCLUDE_DIR)
AC_OUTPUT(Makefile tclreadline.h tclreadlineInit.tcl tclreadlineSetup.tcl tclreadline.n pkgIndex.tcl)