Check-in [8ec4a5326b]
Not logged in
Overview
Comment:Sun Feb 13 20:18:47 CET 2000
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8ec4a5326b045d0a2807fef65a346e6ee71d78cb
User & Date: johannes@zellner.org on 2000-02-13 19:20:05
Other Links: manifest | tags
Context
2000-03-23
19:54
Thu Mar 23 20:54:24 CET 2000 check-in: a280a34644 user: johannes@zellner.org tags: trunk
2000-02-13
19:20
Sun Feb 13 20:18:47 CET 2000 check-in: 8ec4a5326b user: johannes@zellner.org tags: trunk
1999-12-17
12:19
Fri Dec 17 13:19:24 CET 1999 check-in: 93501d5366 user: johannes@zellner.org tags: trunk
Changes

Modified Makefile.in from [5f4c0a6d82] to [7186f24a8d].

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
28
29
30
31
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
57

58



59

60
61
62












63
64
65
66
67
68
69

70



71

72
73
74

75
76
77




78
79
80
81
82



83


84
85
86
87
88



89
90
91
92
93



94
95




96
97
98


99
100
101
102
103
104




105
106
107
108


109
110
111
112
113

114
115
116


117
118
119

120
121
122
123
124

125
126
127
128
129
130
131
132
133

134
135
136
137
138
139

140
141
142
143


144
145

146
147
148
149
150















151


152
153




154
155
156







157
158
159
160
161
162









163



164



165


166
167
168


169



170
171
172
173
174
175
176
177
178






















179
180





181
182
183
184
185
186
187
















188


189














190
191
192
193
194
195
196








197

198

199







200
201





202

203

204


205
206


207
208

209


210

211
212
213
214
215








216
217


218
219
220



221


222

223
224
225
226
227

















228
229
230
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





279
280
281
282








283














284
285





286


287

288


289





290
291







292
293
294

295
296

297
298
299
300
301




302




303

304
305



306
307

308




309
310
311


312
313
314







315

316
317
318




319
320




321
322
323










324

325
326





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
28


29
30
31
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
57
58
59
60
61
62
63






64
65
66
67
68

69



70
71


72
73
74
75
76




77
78
79

80
81
82




83
84
85





86
87
88


89
90
91
92
93


94
95






96
97
98
99




100
101





102



103
104



105





106
107






108

109






110




111
112


113
114




115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132


133
134
135
136



137
138
139
140
141
142
143
144
145




146
147
148
149
150
151
152
153
154

155
156
157
158
159
160
161

162
163
164


165
166
167
168
169
170









171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192


193
194
195
196
197







198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216

217
218
219
220
221
222
223
224
225
226
227
228
229
230
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
279
280
281

282
283
284


285
286
287
288
289
290

291





292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309





310
311
312
313
314
315
316
317
318
319
320
321
322
323
324




325
326
327
328
329
330
331


332
333


334



335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352














353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413


414
415


416
417


418
419

420

421




422
423
424
425
426




427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449


450
451
452
453
454
455
456
457

458

459
460
461
462
463
464
465
466


467
468
469
470
471
472
473
474


475
476

477

478



479
480
481
482

483
484
485
486
487
488


489
490
491
492

493
494
495
496
497
498
499


500
501
502


503
504
505
506
507
508
509
510
511



512
513
514
515


516
517
518
519



520
521
522
523
524
525
526
527
528
529
530
531
532

533
534
535
-
-
+
-
-
-
-
-
+
-
-
+
-
-
-
-
+
-
-
+
+
+

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

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

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

-
-
-
-
-
-

-
-
-
-
-
+

+
+
+
-
+


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

-
-
-
-
-
-
+

+
+
+
-
+
-
-
-
+

-
-
+
+
+
+

-
-
-
-
+
+
+
-
+
+

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

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

-
-
-
-
-
-

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

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

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


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

+
+
+
-
+
+

-
-
+
+

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

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

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

+
-
+
-
+
+
+
+
+
+
+

-
+
+
+
+
+

+
-
+

+
+

-
+
+

-
+

+
+

+

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

-
+
+

-
-
+
+
+

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

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

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

+

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

-
-
+

-
-
+

-
-
+

-
+
-

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

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

+
+
-
+
-
+
+

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

-
-
+

-
+
-

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

+
-
-
+
+
+

-
+

+
+
+
+

-
-
+
+

-
-
+
+
+
+
+
+
+

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

+

-
+
+
+
# -*- make -*-
# FILE: "/disk01/home/joze/src/tclreadline/Makefile.in"
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# LAST MODIFICATION: "Thu Dec 16 23:12:50 1999 (joze)"
# (C) 1998, 1999 by Johannes Zellner, <johannes@zellner.org>
# $Id$
# ---
#

# tclreadline -- gnu readline for tcl
# Copyright (C) 1999  Johannes Zellner
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# This Makefile.in is free software; the Free Software Foundation
# of the License, or (at your option) any later version.
#
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# GNU General Public License for more details.
#

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#
# johannes@zellner.org
#   ==================================================================
#   FILE: "/home/joze/src/tclreadline/Makefile.am"
#   LAST MODIFIED: "Sun Feb 13 02:27:50 2000 (joze)"
#   (C) 1999 by Johannes Zellner
#   johannes@zellner.org
# http://www.zellner.org/tclreadline/
#   $Id$
#   ---
#
# ================================================================== 


MAJOR_VERSION = @TCLREADLINE_MAJOR_VERSION@
MINOR_VERSION = @TCLREADLINE_MINOR_VERSION@
VERSION       = @TCLREADLINE_VERSION@
# NOTE, that PATCHLEVEL is the complete version string
#   zimg -- display 2-D data of arbitrary format
#   Copyright (C) 1999  Johannes Zellner
#
#   This program is free software; you can redistribute it and/or
#   modify it under the terms of the GNU General Public License
#   as published by the Free Software Foundation; either version 2
#   of the License, or (at your option) any later version.
#
PATCHLEVEL    = $(VERSION).@TCLREADLINE_PATCHLEVEL@

#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#host         = @host@
#host_cpu     = @host_cpu@
#host_vendor  = @host_vendor@
#host_os      = @host_os@

srcdir        = @srcdir@
VPATH         = @srcdir@
#   You should have received a copy of the GNU General Public License
#   along with this program; if not, write to the Free Software
#   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#
#   johannes@zellner.org
#   http://www.zellner.org
#   ================================================================== 

#----------------------------------------------------------------
# Things you can change to personalize the Makefile for your own
# site (you can make these changes in either Makefile.in or
# Makefile, but changes to Makefile will get lost if you re-run
# the configuration script).
#----------------------------------------------------------------

# Default top-level directories in which to install architecture-
# specific files (exec_prefix) and machine-independent files such
# as scripts (prefix).  The values specified here may be overridden
# at configure-time with the --exec-prefix and --prefix options
# to the "configure" script.
SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix      = @prefix@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir      = @bindir@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

# The following definition can be set to non-null for special systems
# like AFS with replication.  It allows the pathnames used for installation
# to be different than those used for actually reference files at
# run-time.  INSTALL_ROOT is prepended to $prefix and $exec_prefix
# when installing files.
INSTALL_ROOT =
DESTDIR =

pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
# Directory from which applications will reference the library of Tcl

# scripts (note: you can set the TCLREADLINE_LIBRARY environment variable at
# run-time to override the compiled-in location):
TCLREADLINE_LIBRARY = @TCLREADLINE_LIBRARY@
top_builddir = .

# Path name to use when installing library scripts:
LIBRARY_INSTALL_DIR = $(INSTALL_ROOT)$(TCLREADLINE_LIBRARY)
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@

# Directory in which to install the archive libitk.a:
LIB_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/lib

# Path to use at runtime to refer to LIB_INSTALL_DIR:
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
LIB_RUNTIME_DIR = $(exec_prefix)/lib
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@

# Top-level directory for manual entries:
# MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
MAN_INSTALL_DIR = $(INSTALL_ROOT)@mandir@

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
# Directory in which to install manual entries for the built-in
# Tcl commands implemented by Tk:
MANN_INSTALL_DIR = $(MAN_INSTALL_DIR)/mann


NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
# To change the compiler switches, for example to change from -O
# to -g, change the following line:
host_alias = @host_alias@
host_triplet = @host@
AS = @AS@
CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@

CPP = @CPP@
DLLTOOL = @DLLTOOL@
# To disable ANSI-C procedure prototypes reverse the comment characters
# on the following lines:
PROTO_FLAGS =
#PROTO_FLAGS = -DNO_PROTOTYPE


DL_LIBS = @DL_LIBS@
LD_FLAGS = @LD_FLAGS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
# Some versions of make, like SGI's, use the following variable to
# determine which shell to use for executing commands:
SHELL = /bin/sh

MAKEINFO = @MAKEINFO@
MAKE_LIB = @MAKE_LIB@
# Tk used to let the configure script choose which program to use
# for installing, but there are just too many different versions of
# "install" around;  better to use the install-sh script that comes
# with the distribution, which is slower but guaranteed to work.

OBJDUMP = @OBJDUMP@
INSTALL         = $(TOP_DIR)/aux/install-sh -c
# INSTALL         = @INSTALL@
INSTALL_PROGRAM = ${INSTALL}
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
INSTALL_DATA    = ${INSTALL} -m 644
MKINSTALLDIRS   = $(TOP_DIR)/aux/mkinstalldirs

READLINE_INCLUDE_DIR = @READLINE_INCLUDE_DIR@
# The symbols below provide support for dynamic loading and shared
# libraries.  The values of the symbols are normally set by the
# configure script.  You shouldn't normally need to modify any of
# these definitions by hand.

READLINE_LIB_DIR = @READLINE_LIB_DIR@
SHLIB_CFLAGS = @SHLIB_CFLAGS@


# The symbol below provides support for dynamic loading and shared
# libraries.  See configure.in for a description of what it means.
# The values of the symbolis normally set by the configure script.

SHLIB_LD = @SHLIB_LD@

SHLIB_LD_LIBS = @SHLIB_LD_LIBS@
#----------------------------------------------------------------
# The information below is modified by the configure script when
# Makefile is generated from Makefile.in.  You shouldn't normally
# modify any of this stuff by hand.
#----------------------------------------------------------------

SHLIB_SUFFIX = @SHLIB_SUFFIX@
RANLIB               = @RANLIB@
TOP_DIR              = $(srcdir)
TCL_INCLUDE_DIR      = @TCL_INCLUDE_DIR@
TCL_LIB_SPEC         = @TCL_LIB_SPEC@
TCLREADLINE_BUILD_LIB_SPEC = @TCLREADLINE_BUILD_LIB_SPEC@
TCLREADLINE_LIBRARY = @TCLREADLINE_LIBRARY@
TK_LIB_SPEC          = @TK_LIB_SPEC@
READLINE_INCLUDE_DIR = @READLINE_INCLUDE_DIR@
TCLREADLINE_LIB_DIR = @TCLREADLINE_LIB_DIR@
TCLREADLINE_LIB_FILE = @TCLREADLINE_LIB_FILE@

READLINE_LIB         = -L@READLINE_LIB_DIR@ -lreadline
TERMLIB              = @TERMLIB@
TERMLIB_DIR          = @TERMLIB_DIR@
TCLREADLINE_LIB_SPEC = @TCLREADLINE_LIB_SPEC@
TCLREADLINE_MAJOR_VERSION = @TCLREADLINE_MAJOR_VERSION@
TCLREADLINE_MINOR_VERSION = @TCLREADLINE_MINOR_VERSION@
TCLREADLINE_PACKAGE_PATH = @TCLREADLINE_PACKAGE_PATH@
TCLREADLINE_PATCHLEVEL = @TCLREADLINE_PATCHLEVEL@
TCLREADLINE_PATCHLEVEL_STR = @TCLREADLINE_PATCHLEVEL_STR@
TCLREADLINE_PKG_FILE = @TCLREADLINE_PKG_FILE@
TCLREADLINE_VERSION = @TCLREADLINE_VERSION@
TCL_INCLUDE_DIR = @TCL_INCLUDE_DIR@
TCL_LIB_DIR = @TCL_LIB_DIR@
TCL_LIB_SPEC = @TCL_LIB_SPEC@
TERMLIB = @TERMLIB@
TERMLIB_DIR = @TERMLIB_DIR@
TK_LIB_SPEC = @TK_LIB_SPEC@
VERSION = @VERSION@

lib_LTLIBRARIES = libtclreadline.la
libtclreadline_la_SOURCES = tclreadline.c tclreadline.h config.h
#----------------------------------------------------------------
# The information below should be usable as is.  The configure

libtclreadline_la_LIBADD = $(READLINE_LIB_DIR) $(TERMLIB_DIR) -lreadline $(TERMLIB)
libtclreadline_la_LDFLAGS = -release $(TCLREADLINE_VERSION) -version-info $(TCLREADLINE_MAJOR_VERSION):$(TCLREADLINE_MINOR_VERSION):$(TCLREADLINE_PATCHLEVEL)

# script won't modify it and you shouldn't need to modify it
# either.
#----------------------------------------------------------------
man_MANS = tclreadline.n
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/./aux/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =  tclreadline.h tclreadlineInit.tcl \
tclreadlineSetup.tcl tclreadlineConfig.sh tclreadline.n pkgIndex.tcl
LTLIBRARIES =  $(lib_LTLIBRARIES)


CC   = @CC@
DEFS = @DEFS@

CC_SWITCHES = $(CFLAGS) $(SHLIB_CFLAGS) -I$(TOP_DIR) \
DEFS = @DEFS@ -I. -I$(srcdir) -I.
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
libtclreadline_la_DEPENDENCIES = 
libtclreadline_la_OBJECTS =  tclreadline.lo
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
        -I$(TCL_INCLUDE_DIR) -I$(READLINE_INCLUDE_DIR)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
manndir = $(mandir)/mann
MANS = $(man_MANS)

NROFF = nroff
DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
Makefile.am Makefile.in NEWS TODO aclocal.m4 config.h.in configure \
OBJS = tclreadline.o
configure.in pkgIndex.tcl.in tclreadline.h.in tclreadline.n.in \
tclreadlineConfig.sh.in tclreadlineInit.tcl.in tclreadlineSetup.tcl.in

CSRCS = $(TOP_DIR)/tclreadline.c
TCLFILES = tclreadlineInit.tcl tclreadlineSetup.tcl tclreadlineCompleter.tcl

DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = tar
GZIP_ENV = --best
DEP_FILES =  .deps/tclreadline.P
SOURCES = \
    GPL \
    Makefile.in \
    README \
    configure.in \
    pkgIndex.tcl.in \
    sample.tclshrc \
    sources \
    config.h.in \
SOURCES = $(libtclreadline_la_SOURCES)
OBJECTS = $(libtclreadline_la_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
	cd $(top_builddir) \
	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status

$(ACLOCAL_M4):  configure.in 
	cd $(srcdir) && $(ACLOCAL)

config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
	cd $(srcdir) && $(AUTOCONF)

config.h: stamp-h
    tclreadline.c \
    tclreadline.h.in \
	@if test ! -f $@; then \
		rm -f stamp-h; \
		$(MAKE) stamp-h; \
	else :; fi
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
    tclreadline.n.in \
    tclreadlineConfig.sh.in \
    tclreadlineInit.tcl.in \
    tclreadlineSetup.tcl.in \
    tclreadlineCompleter.tcl \
    tclshrl.c \
    wishrl.c
	cd $(top_builddir) \
	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
	     $(SHELL) ./config.status
	@echo timestamp > stamp-h 2> /dev/null
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
	@if test ! -f $@; then \
		rm -f $(srcdir)/stamp-h.in; \
		$(MAKE) $(srcdir)/stamp-h.in; \
	else :; fi
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOHEADER)
	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null

mostlyclean-hdr:

clean-hdr:

distclean-hdr:
	-rm -f config.h
MISC = TODO

maintainer-clean-hdr:
tclreadline.h: $(top_builddir)/config.status tclreadline.h.in
	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
tclreadlineInit.tcl: $(top_builddir)/config.status tclreadlineInit.tcl.in
	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
tclreadlineSetup.tcl: $(top_builddir)/config.status tclreadlineSetup.tcl.in
	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
tclreadlineConfig.sh: $(top_builddir)/config.status tclreadlineConfig.sh.in
	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
tclreadline.n: $(top_builddir)/config.status tclreadline.n.in
	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
pkgIndex.tcl: $(top_builddir)/config.status pkgIndex.tcl.in
	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status

AUXILIARY = \
    aux/config.guess \
    aux/config.sub \
    aux/install-sh \
    aux/mkinstalldirs \
    aux/vimtags
mostlyclean-libLTLIBRARIES:

clean-libLTLIBRARIES:
	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)

distclean-libLTLIBRARIES:

maintainer-clean-libLTLIBRARIES:

install-libLTLIBRARIES: $(lib_LTLIBRARIES)
MAN = tclreadline.n
	@$(NORMAL_INSTALL)
HTML = tclreadline.n.html
	$(mkinstalldirs) $(DESTDIR)$(libdir)
	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
	    $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
	  else :; fi; \
	done

CIFLAGS = -f -t-"gnu readline for tcl" -m"before initial relase"
uninstall-libLTLIBRARIES:
	@$(NORMAL_UNINSTALL)
	list='$(lib_LTLIBRARIES)'; for p in $$list; do \
	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
	done

.s.o:
all: $(TCLREADLINE_LIB_FILE)
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

.PHONY: clean distclean ctags tcltags vimtags tags ci co
mostlyclean-compile:
	-rm -f *.o core *.core

.SUFFIXES: .c .o .so .sl .tcl
clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

@TCLREADLINE_LIB_FILE@: ${OBJS}
	rm -f $(TCLREADLINE_LIB_FILE)
	@MAKE_LIB@ $(TERMLIB_DIR) $(READLINE_LIB) $(TERMLIB)
	$(RANLIB) $(TCLREADLINE_LIB_FILE)
.s.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.S.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

mostlyclean-libtool:
	-rm -f *.lo

shells: tclshrl wishrl
clean-libtool:
	-rm -rf .libs _libs

tclshrl: $(OBJS) tclshrl.o
	$(CC) -o tclshrl tclshrl.o $(OBJS) $(TERMLIB_DIR) $(READLINE_LIB) $(TERMLIB) $(TCL_LIB_SPEC)
distclean-libtool:

maintainer-clean-libtool:

libtclreadline.la: $(libtclreadline_la_OBJECTS) $(libtclreadline_la_DEPENDENCIES)
	$(LINK) -rpath $(libdir) $(libtclreadline_la_LDFLAGS) $(libtclreadline_la_OBJECTS) $(libtclreadline_la_LIBADD) $(LIBS)
wishrl: $(OBJS) wishrl.o

	$(CC) -o wishrl wishrl.o $(OBJS) $(TERMLIB_DIR) $(READLINE_LIB) $(TERMLIB) $(TK_LIB_SPEC) $(TCL_LIB_SPEC)

install: install-binaries install-libraries install-man

install-shells: install-tclshrl install-wishrl
install-mann:
	$(mkinstalldirs) $(DESTDIR)$(manndir)
	@list='$(mann_MANS)'; \
	l2='$(man_MANS)'; for i in $$l2; do \
	  case "$$i" in \
	    *.n*) list="$$list $$i" ;; \
	  esac; \
	done; \
	for i in $$list; do \
	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
	  else file=$$i; fi; \
	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(manndir)/$$inst"; \
	  $(INSTALL_DATA) $$file $(DESTDIR)$(manndir)/$$inst; \
	done

install-tclshrl:
	$(MKINSTALLDIRS) $(bindir)
	$(INSTALL_PROGRAM) tclshrl $(bindir)/tclshrl

install-wishrl:
uninstall-mann:
	@list='$(mann_MANS)'; \
	l2='$(man_MANS)'; for i in $$l2; do \
	  case "$$i" in \
	    *.n*) list="$$list $$i" ;; \
	  esac; \
	done; \
	for i in $$list; do \
	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
	  echo " rm -f $(DESTDIR)$(manndir)/$$inst"; \
	  rm -f $(DESTDIR)$(manndir)/$$inst; \
	done
install-man: $(MANS)
	$(MKINSTALLDIRS) $(bindir)
	$(INSTALL_PROGRAM) wishrl $(bindir)/wishrl

install-man: $(MANN_INSTALL_DIR)/$(MAN)
	@$(NORMAL_INSTALL)
	$(MAKE) $(AM_MAKEFLAGS) install-mann
uninstall-man:
	@$(NORMAL_UNINSTALL)
	$(MAKE) $(AM_MAKEFLAGS) uninstall-mann

tags: TAGS
install-binaries: $(TCLREADLINE_LIB_FILE)
	@$(MKINSTALLDIRS) $(LIBRARY_INSTALL_DIR)

ID: $(HEADERS) $(SOURCES) $(LISP)
	@echo "Installing $(TCLREADLINE_LIB_FILE)"
	@$(INSTALL_DATA) $(TCLREADLINE_LIB_FILE) \
	list='$(SOURCES) $(HEADERS)'; \
            $(LIBRARY_INSTALL_DIR)/$(TCLREADLINE_LIB_FILE)
	@(cd $(LIBRARY_INSTALL_DIR); $(RANLIB) $(TCLREADLINE_LIB_FILE))
	chmod 555 $(LIBRARY_INSTALL_DIR)/$(TCLREADLINE_LIB_FILE)
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

install-libraries: tclreadlineInit.tcl tclreadlineSetup.tcl \
                   tclreadlineCompleter.tcl pkgIndex.tcl tclreadlineConfig.sh
	@$(MKINSTALLDIRS) $(LIBRARY_INSTALL_DIR)
	for f in \
            tclreadlineInit.tcl \
            tclreadlineSetup.tcl \
            tclreadlineCompleter.tcl \
            pkgIndex.tcl \
            tclreadlineConfig.sh\
        ; do \
            $(INSTALL_DATA) $$f $(LIBRARY_INSTALL_DIR) \
        ; done

FORCE:
clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
	-rm -rf $(distdir)
	GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
	mkdir $(distdir)/=build
	mkdir $(distdir)/=inst
	dc_install_base=`cd $(distdir)/=inst && pwd`; \
	cd $(distdir)/=build \
	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
	  && $(MAKE) $(AM_MAKEFLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
	  && $(MAKE) $(AM_MAKEFLAGS) check \
	  && $(MAKE) $(AM_MAKEFLAGS) install \
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
	  && $(MAKE) $(AM_MAKEFLAGS) dist
	-rm -rf $(distdir)
	@banner="$(distdir).tar.gz is ready for distribution"; \
	dashes=`echo "$$banner" | sed s/./=/g`; \
	echo "$$dashes"; \
	echo "$$banner"; \
	echo "$$dashes"
dist: distdir
	-chmod -R a+r $(distdir)
	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
	-rm -rf $(distdir)
dist-all: distdir
	-chmod -R a+r $(distdir)
	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
	-rm -rf $(distdir)
distdir: $(DISTFILES)
	-rm -rf $(distdir)
	mkdir $(distdir)
	-chmod 777 $(distdir)
	here=`cd $(top_builddir) && pwd`; \
	top_distdir=`cd $(distdir) && pwd`; \
	distdir=`cd $(distdir) && pwd`; \
	cd $(top_srcdir) \
	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$d/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done

$(MANN_INSTALL_DIR)/$(MAN): FORCE
	- $(INSTALL_DATA) $(srcdir)/$(MAN) $@ &&  chmod 644 $@
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)

tclreadline.n.html: tclreadline.n
	rman -f html $^ > $@
-include $(DEP_FILES)

Makefile: $(TOP_DIR)/Makefile.in
	$(SHELL) config.status
mostlyclean-depend:

clean:
clean-depend:
	rm -f *.a *.o core errs *~ \#* tags* *.E a.out errors so_locations

distclean: clean
	rm -f \
	Makefile *.so.* *.sl pkgIndex.tcl tclreadlineInit.tcl \
	tclreadlineSetup.tcl config.h tclreadline.h tclreadline.n \
distclean-depend:
	-rm -rf .deps

maintainer-clean-depend:

	tclreadlineConfig.sh config.status config.log config.cache

depend:
	makedepend -- $(CC_SWITCHES) -- $(CSRCS)
%.o: %.c
	@echo '$(COMPILE) -c $<'; \
	$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
	@-cp .deps/$(*F).pp .deps/$(*F).P; \
	tr ' ' '\012' < .deps/$(*F).pp \
	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
	    >> .deps/$(*F).P; \
	rm .deps/$(*F).pp

%.lo: %.c
	@echo '$(LTCOMPILE) -c $<'; \
	$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
	@-sed -e 's/^\([^:]*\)\.o[ 	]*:/\1.lo \1.o :/' \
	  < .deps/$(*F).pp > .deps/$(*F).P; \
	tr ' ' '\012' < .deps/$(*F).pp \
	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
	    >> .deps/$(*F).P; \
	rm -f .deps/$(*F).pp
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
configure: configure.in
	autoconf
check: check-am
installcheck-am:
installcheck: installcheck-am
all-recursive-am: config.h
	$(MAKE) $(AM_MAKEFLAGS) all-recursive

install-exec-am: install-libLTLIBRARIES
install-exec: install-exec-am
tclreadline.o:	$(TOP_DIR)/tclreadline.c Makefile

	$(CC) -c $(CC_SWITCHES) $(DEFS) $(TOP_DIR)/tclreadline.c
install-data-am: install-man
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-libLTLIBRARIES uninstall-man
uninstall: uninstall-am
tclshrl.o:	$(TOP_DIR)/tclshrl.c Makefile
	$(CC) -c $(CC_SWITCHES) $(DEFS) $(TOP_DIR)/tclshrl.c
all-am: Makefile $(LTLIBRARIES) $(MANS) config.h
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(mandir)/mann


wishrl.o:	$(TOP_DIR)/wishrl.c Makefile
	$(CC) -c $(CC_SWITCHES) $(DEFS) $(TOP_DIR)/wishrl.c
mostlyclean-generic:

ctags:
clean-generic:
	ctags -R

tcltags: ctags tclreadlineInit.tcl.in tclreadlineSetup.tcl.in \
            tclreadlineCompleter.tcl
	tcltags -a tclreadlineInit.tcl.in tclreadlineSetup.tcl.in \
distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

            tclreadlineCompleter.tcl
maintainer-clean-generic:
mostlyclean-am:  mostlyclean-hdr mostlyclean-libLTLIBRARIES \
		mostlyclean-compile mostlyclean-libtool \
		mostlyclean-tags mostlyclean-depend mostlyclean-generic

mostlyclean: mostlyclean-am
vimtags: tcltags
	vimtags

clean-am:  clean-hdr clean-libLTLIBRARIES clean-compile clean-libtool \
		clean-tags clean-depend clean-generic mostlyclean-am

tags: vimtags
clean: clean-am

distclean-am:  distclean-hdr distclean-libLTLIBRARIES distclean-compile \
		distclean-libtool distclean-tags distclean-depend \
		distclean-generic clean-am
	-rm -f libtool

ci: $(SOURCES)
	ci -u $(CIFLAGS) $^
distclean: distclean-am
	-rm -f config.status

co: $(SOURCES)
	co -l $^
maintainer-clean-am:  maintainer-clean-hdr \
		maintainer-clean-libLTLIBRARIES \
		maintainer-clean-compile maintainer-clean-libtool \
		maintainer-clean-tags maintainer-clean-depend \
		maintainer-clean-generic distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am
dist: distribution
distribution: $(SOURCES) configure $(AUXILIARY) tclreadline.n.html
	- mkdir -p dist/tclreadline-$(PATCHLEVEL)/aux
	-rm -f config.status

.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
	- cp $(SOURCES) configure tclreadline.n.html dist/tclreadline-$(PATCHLEVEL)
	- cp $(AUXILIARY) dist/tclreadline-$(PATCHLEVEL)/aux
clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
distclean-compile clean-compile maintainer-clean-compile \
mostlyclean-libtool distclean-libtool clean-libtool \
	(cd dist; tar zcvf tclreadline-$(PATCHLEVEL).tar.gz tclreadline-$(PATCHLEVEL); rm -rf tclreadline-$(PATCHLEVEL))
	- cp README dist/tclreadline-$(PATCHLEVEL).README
	- echo AddDescription '"<font size=+2 color=red><b>most recent version</b></font>"' tclreadline-$(PATCHLEVEL).tar.gz > dist/.htaccess
maintainer-clean-libtool install-mann uninstall-mann install-man \
uninstall-man tags mostlyclean-tags distclean-tags clean-tags \
maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
check-am installcheck-am installcheck all-recursive-am install-exec-am \
install-exec install-data-am install-data install-am install \
uninstall-am uninstall all-redirect all-am all installdirs \
mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


# OTHER_SOURCES = README GPL configure.in config.h.in version.h.in zimg.1.in

# DO NOT DELETE THIS LINE -- make depend depends on it.
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

Modified config.h.in from [b28c871052] to [2b67415bed].

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
28
29
30


31
32
33

34
35

36
37
38

1



2
3
4





5



6


7


8





9



10
11



12
13

14

15
16
17
18
19
20

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

-
-
-
+
-
-
+
-
-

-
-
-
-
-
+
-
-
-
+

-
-
-
+
+
-

-
+


+


-

/* config.h.in.  Generated automatically from configure.in by autoheader.  */
 /* ==================================================================
   
    FILE: "/disk01/home/joze/src/tclreadline/config.h.in"

/* Define if you have the ANSI C header files.  */
#undef STDC_HEADERS
    LAST MODIFICATION: "Mon Sep 20 02:20:49 1999 (joze)"
    (C) 1998, 1999 by Johannes Zellner, <johannes@zellner.org>
    $Id$
    vim:set ft=c:
    ---

    tclreadline -- gnu readline for tcl
    Copyright (C) 1999  Johannes Zellner

/* Name of package */
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
#undef PACKAGE
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

/* Version number of package */
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#undef VERSION

    johannes@zellner.org
    http://www.zellner.org/tclreadline/

/*  Define if we have libreadline.  */
#undef READLINE_LIBRARY
    ================================================================== */  


/*  Define if _rl_executing_macro is resolved in libreadline.  */
#undef EXECUTING_MACRO_HACK

/*  Define if rl_cleanup_after_signal is resolved in libreadline.  */
#undef CLEANUP_AFER_SIGNAL

#undef READLINE_LIBRARY

Modified configure.in from [c19b6f76b5] to [18b3cf4a23].

1
2
3

4
5
6
7
8
9
10
1
2

3
4
5
6
7
8
9
10


-
+







dnl -*- autoconf -*-
dnl FILE: "/home/joze/src/tclreadline/configure.in"
dnl LAST MODIFICATION: "Thu Dec 16 22:01:33 1999 (joze)"
dnl LAST MODIFICATION: "Sun Feb 13 02:17:53 2000 (joze)"
dnl (C) 1998, 1999 by Johannes Zellner, <johannes@zellner.org>
dnl $Id$
dnl ---
dnl
dnl tclreadline -- gnu readline for tcl
dnl Copyright (C) 1999  Johannes Zellner
dnl
29
30
31
32
33
34
35
36

37
38
39
40
41
42
43


44
45
46


47
48
49
50
51
52
53
29
30
31
32
33
34
35

36
37
38
39
40
41


42
43
44
45
46
47
48
49
50
51
52
53
54
55







-
+





-
-
+
+



+
+








dnl	This file is an input file used by the GNU "autoconf" program to
dnl	generate the file "configure", which is run during Tk installation
dnl	to configure the system for the local environment.


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

TCLREADLINE_MAJOR_VERSION=1
TCLREADLINE_MINOR_VERSION=0
TCLREADLINE_PATCHLEVEL=5
TCLREADLINE_MINOR_VERSION=1
TCLREADLINE_PATCHLEVEL=0
TCLREADLINE_VERSION=$TCLREADLINE_MAJOR_VERSION.$TCLREADLINE_MINOR_VERSION
TCLREADLINE_PATCHLEVEL_STR=${TCLREADLINE_VERSION}.${TCLREADLINE_PATCHLEVEL}
VERSION=$TCLREADLINE_VERSION

AM_INIT_AUTOMAKE(libtclreadline, $VERSION)

dnl AM_INIT_AUTOMAKE(tclreadline, $VERSION)

AC_CANONICAL_HOST


TCLREADLINE_LPATH=`echo $LD_LIBRARY_PATH $LD_RUN_PATH $LPATH | sed 's/:/ /g'`
165
166
167
168
169
170
171

172
173
174
175
176
177
178
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181







+







TCLREADLINE_LIBRARY=${exec_prefix}/lib/tclreadline$TCLREADLINE_VERSION


# -----------------------------------------------------------------------
#   Check for some programs here.
# -----------------------------------------------------------------------

AM_PROG_LIBTOOL
AC_PROG_INSTALL
AC_PROG_RANLIB
AC_PROG_LN_S



# -----------------------------------------------------------------------
374
375
376
377
378
379
380


381
382
383
384
385
386
387
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392







+
+







  Can't find libreadline$SHLIB_SUFFIX.
  Use --with-readline-library to specify the directory
  containing libreadline$SHLIB_SUFFIX on your system.])
else
    AC_MSG_RESULT(${READLINE_LIB_DIR}/libreadline${SHLIB_SUFFIX}${READLINE_VERSION_SUFFIX})
fi

READLINE_LIB_DIR="-L${READLINE_LIB_DIR}"



# ---
# check for the terminal library.
# ---

olibs=${LIBS}
437
438
439
440
441
442
443
444

445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460


461


462

463
464
465
466
467
468
469
470

471


472

473
474
475
476
477
478
479
442
443
444
445
446
447
448

449
450
451
452
453
454
455
456
457
458
459
460
461
462
463


464
465
466
467
468

469
470
471
472
473
474
475
476

477
478
479
480

481
482
483
484
485
486
487
488







-
+














-
-
+
+

+
+
-
+







-
+

+
+
-
+








#--------------------------------------------------------------------
#   Check for appropriate version of gnu readline
#   (older versions of gnu readline don't have
#    rl_callback_read_char ()).
#--------------------------------------------------------------------

LIBS="-L$READLINE_LIB_DIR ${TERMLIB_DIR} -lreadline $TERMLIB $olibs"
LIBS="${READLINE_LIB_DIR} ${TERMLIB_DIR} -lreadline $TERMLIB $olibs"
alternate=no
AC_CHECK_FUNC(
    rl_callback_read_char, alternate=yes, alternate=no
)
if test "$alternate" = "no"; then
    AC_MSG_ERROR(alternate interface not supported by this readline version.)
fi


# check for readline's (macro.c) private variable
# _rl_executing_macro.

AC_MSG_CHECKING([for _rl_executing_macro in -lreadline])
AC_TRY_LINK(,[
	extern char* _rl_executing_macro;
	_rl_executing_macro = (char*) 0;
    extern char* _rl_executing_macro;
    _rl_executing_macro = (char*) 0;
],
    AC_MSG_RESULT(yes);
    AC_DEFINE(EXECUTING_MACRO_HACK, 1,
    AC_MSG_RESULT(yes); AC_DEFINE_UNQUOTED(EXECUTING_MACRO_HACK, 1, [define, if _rl_executing_macro is resolved in libreadline]),
    [ Define if _rl_executing_macro is resolved in libreadline. ]),
    AC_MSG_RESULT(no))

# check for readline's rl_cleanup_after_signal

AC_MSG_CHECKING([for rl_cleanup_after_signal() in -lreadline])
AC_TRY_LINK(,[
    extern void rl_cleanup_after_signal();
	rl_cleanup_after_signal();
    rl_cleanup_after_signal();
],
    AC_MSG_RESULT(yes);
    AC_DEFINE(CLEANUP_AFER_SIGNAL, 1,
    AC_MSG_RESULT(yes); AC_DEFINE_UNQUOTED(CLEANUP_AFER_SIGNAL, 1, [define, if rl_cleanup_after_signal is resolved in libreadline]),
    [ Define if rl_cleanup_after_signal is resolved in libreadline. ]),
    AC_MSG_RESULT(no))


AC_MSG_CHECKING([for the readline version number])
AC_TRY_RUN([
#include <stdio.h>
int main () {