Diff
Not logged in

Differences From Artifact [8d6b0fc6f5]:

To Artifact [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