This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: [RFA] Find init.tcl on cygwin
- From: Mo DeJong <mdejong at uncounted dot org>
- To: insight at sources dot redhat dot com
- Date: Thu, 19 Dec 2002 00:39:46 -0800
- Subject: Re: [RFA] Find init.tcl on cygwin
- References: <20021219070416.GA21543@redhat.com>
On Thu, 19 Dec 2002 02:04:16 -0500
Christopher Faylor <cgf@redhat.com> wrote:
> This has been sitting in my sandbox for a long time.
>
> Ok to check in?
>
> cgf
...
> /* CYGNUS LOCAL */
> - sprintf(installLib, "share/tcl%s", TCL_VERSION);
> + sprintf(installLib, "usr/share/tcl%s", TCL_VERSION);
> /* END CYGNUS LOCAL */
What are the configure flags that you are building with under Cygwin?
Is it something like `.../configure --prefix=/ --datadir=/usr` ?
The reason I am concerned is that a configure like the following:
.../configure --prefix=/usr/mydir ; make ; make install
will install the init.tcl file into /usr/mydir/share/tcl8.3/init.tcl.
With the change you suggest, it seems like the `make install` rule
will still copy the file to the same location but now the TclpInitLibraryPath
function will be looking in /usr/mydir/usr/share/tcl8.3/init.tcl.
Also, this change will make the windows version of `make install`
behave differently from the unix version, and I don't quite follow
why you would want to do that. What is the use case this patch
is intended to fix?
Mo