[RFA] Find init.tcl on cygwin
Mo DeJong
mdejong@uncounted.org
Thu Dec 19 00:37:00 GMT 2002
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
More information about the Insight
mailing list