Overview
Comment: | introduced tclshrl and wishrl because a user wants statically linked binaries. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
f90495f90f356d6406494a8c8b9e79b9 |
User & Date: | johannes@zellner.org on 1999-12-16 21:53:03 |
Other Links: | manifest | tags |
Context
1999-12-16
| ||
21:53 | Thu Dec 16 22:22:08 CET 1999 check-in: 5d555b6f90 user: johannes@zellner.org tags: trunk | |
21:53 | introduced tclshrl and wishrl because a user wants statically linked binaries. check-in: f90495f90f user: johannes@zellner.org tags: trunk | |
1999-09-30
| ||
16:03 | Thu Sep 30 18:03:05 MEST 1999 check-in: 5df4b8fab3 user: johannes@zellner.org tags: trunk | |
Changes
Modified Makefile.in from [eef7262ac3] to [7533740ddd].
1 | 1 2 3 4 5 6 7 8 9 10 | - - + + | # -*- make -*- |
︙ | |||
54 55 56 57 58 59 60 61 62 63 64 65 66 67 | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | + + | # 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. prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ # 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 = |
︙ | |||
134 135 136 137 138 139 140 141 142 143 144 145 146 147 | 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | + + | # Makefile is generated from Makefile.in. You shouldn't normally # modify any of this stuff by hand. #---------------------------------------------------------------- RANLIB = @RANLIB@ TOP_DIR = $(srcdir) TCL_INCLUDE_DIR = @TCL_INCLUDE_DIR@ TCL_LIB_SPEC = @TCL_LIB_SPEC@ TK_LIB_SPEC = @TK_LIB_SPEC@ READLINE_INCLUDE_DIR = @READLINE_INCLUDE_DIR@ TCLREADLINE_LIB_FILE = @TCLREADLINE_LIB_FILE@ READLINE_LIB = -L@READLINE_LIB_DIR@ -lreadline TERMLIB = @TERMLIB@ TERMLIB_DIR = @TERMLIB_DIR@ |
︙ | |||
174 175 176 177 178 179 180 | 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 | - + + + + + + + + + + + + + + + + + + + + + + + | config.h.in \ tclreadline.c \ tclreadline.h.in \ tclreadline.n.in \ tclreadlineConfig.sh.in \ tclreadlineInit.tcl.in \ tclreadlineSetup.tcl.in \ |
︙ | |||
257 258 259 260 261 262 263 264 265 266 267 268 269 270 | 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 | + + + + + + | configure: configure.in autoconf tclreadline.o: $(TOP_DIR)/tclreadline.c Makefile $(CC) -c $(CC_SWITCHES) $(DEFS) $(TOP_DIR)/tclreadline.c tclshrl.o: $(TOP_DIR)/tclshrl.c Makefile $(CC) -c $(CC_SWITCHES) $(DEFS) $(TOP_DIR)/tclshrl.c wishrl.o: $(TOP_DIR)/wishrl.c Makefile $(CC) -c $(CC_SWITCHES) $(DEFS) $(TOP_DIR)/wishrl.c ctags: ctags -R tcltags: ctags tclreadlineInit.tcl.in tclreadlineSetup.tcl.in \ tclreadlineCompleter.tcl tcltags -a tclreadlineInit.tcl.in tclreadlineSetup.tcl.in \ tclreadlineCompleter.tcl |
︙ |
Modified README from [a78ad2a391] to [fe12ffe1fc].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | FILE: "/home/joze/src/tclreadline/README" |
︙ | |||
56 57 58 59 60 61 62 | 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 | - + + + + + + + + + + + + + + + + + + + | It uses the tclConfig.sh file, which should reside somewhere in /usr/local/lib/ or /usr/local/lib/tcl8.0/... (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. |
︙ |
Modified configure.in from [60c4ecbda9] to [c19b6f76b5].
| 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 | - - - - - - + + + + + + - - - + + + - - - - - + + + + + - - - - - + + + + + - - - - + + + + - - - + + + - - + + - + + + - + + - - |
|
︙ | |||
78 79 80 81 82 83 84 85 86 87 88 89 90 91 | 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 | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | AC_MSG_ERROR(Can't find Tcl libraries. Use --with-tcl to specify the directory containing tclConfig.sh on your system.) else . $TCL_LIB_DIR/tclConfig.sh AC_MSG_RESULT($TCL_LIB_DIR/tclConfig.sh) AC_MSG_CHECKING([for your tcl version]) AC_MSG_RESULT([$TCL_VERSION, patchlevel $TCL_PATCH_LEVEL]) fi #-------------------------------------------------------------------- # eventually check for tkConfig.sh #-------------------------------------------------------------------- tk_search="no" AC_ARG_WITH( tk, [ --with-tk=DIR where to look for tclConfig.sh], tk_search=$withval, tk_search="yes" ) if test "$tk_search" != "no"; then AC_MSG_CHECKING([which tkConfig.sh to use]) TK_LIB_DIR="" for dir in $tk_search /usr/lib /usr/local/lib $exec_prefix/lib /usr/local/lib/unix /opt/tcl/lib; do if test -r $dir/tkConfig.sh; then TK_LIB_DIR=$dir break fi done if test -z "$TK_LIB_DIR"; then AC_MSG_ERROR(Can't find Tk libraries.) else . $TK_LIB_DIR/tkConfig.sh AC_MSG_RESULT($TK_LIB_DIR/tkConfig.sh) AC_MSG_CHECKING([for your tk version]) AC_MSG_RESULT([$TK_VERSION, patchlevel $TK_PATCH_LEVEL]) fi AC_SUBST(TK_LIB_SPEC) fi #-------------------------------------------------------------------- # Read in configuration information generated by Tcl for shared # libraries, and arrange for it to be substituted into our # Makefile. #-------------------------------------------------------------------- |
︙ | |||
203 204 205 206 207 208 209 | 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 | - + - - - + | #-------------------------------------------------------------------- # The statements below define a collection of symbols related to # building libtclreadline as a shared library instead of a static library. # (static is not implemented yet anyway). #-------------------------------------------------------------------- AC_ARG_ENABLE(shared, |
︙ | |||
298 299 300 301 302 303 304 | 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 | - + | Can't find readline.h. Use --with-readline-includes to specify the directory containing readline.h on your system.]) else AC_MSG_RESULT($READLINE_INCLUDE_DIR/readline.h) base="`(basename ${READLINE_INCLUDE_DIR}) 2>/dev/null`" if test "x${base}" != "xreadline"; then |
︙ | |||
423 424 425 426 427 428 429 | 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 | - + - + | # _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; ], |
︙ | |||
470 471 472 473 474 475 476 477 478 479 480 481 482 483 | 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 | + | AC_SUBST(TCLREADLINE_VERSION) AC_SUBST(TCLREADLINE_PATCHLEVEL) AC_SUBST(TCLREADLINE_LIBRARY) AC_SUBST(TCLREADLINE_PATCHLEVEL_STR) AC_SUBST(TCL_LIB_DIR) AC_SUBST(TCL_LIB_SPEC) AC_SUBST(TCL_INCLUDE_DIR) AC_SUBST(READLINE_INCLUDE_DIR) AC_SUBST(CFLAGS) AC_SUBST(DL_LIBS) AC_SUBST(LD_FLAGS) AC_SUBST(RANLIB) |
︙ |
Modified tclreadlineInit.tcl.in from [a1f8bae947] to [a9533293b7].
1 | 1 2 3 4 5 6 7 8 9 10 | - - + + | #!/usr/local/bin/tclsh |
︙ | |||
30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - - + + + - + + + | package provide tclreadline @TCLREADLINE_VERSION@ namespace eval tclreadline:: { namespace export Init } proc ::tclreadline::Init {} { |