diff options
author | das <das> | 2002-06-06 17:37:54 (GMT) |
---|---|---|
committer | das <das> | 2002-06-06 17:37:54 (GMT) |
commit | 7710d5c62d5217f563468a0e595c9f71240f351b (patch) | |
tree | d8383cffd57ba9b2bb95730e80227456889d0387 /unix/Makefile.in | |
parent | a119012d510f0e38f924f4c957718b8fd98dee41 (diff) | |
download | tcl-7710d5c62d5217f563468a0e595c9f71240f351b.zip tcl-7710d5c62d5217f563468a0e595c9f71240f351b.tar.gz tcl-7710d5c62d5217f563468a0e595c9f71240f351b.tar.bz2 |
* unix/tclUnixThrd.c (TclpReaddir, TclpLocaltime, TclpGmtime):
added mutex wrapped calls to readdir, localtime & gmtime in
case their thread-safe *_r counterparts are not available.
* unix/tcl.m4: added configure check for readdir_r
* unix/tcl.m4 (Darwin): set TCL_DEFAULT_ENCODING to utf-8 on
MacOSX (where posix file apis expect utf-8, not iso8859-1).
* unix/configure: regen
* unix/Makefile.in: set DYLD_LIBRARY_PATH in parallel
to LD_LIBRARY_PATH for MacOSX dynamic linker.
* generic/tclEnv.c (TclSetEnv): fix env var setting on
MacOSX (adapted from patch #524352 by jkbonfield).
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r-- | unix/Makefile.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 79b123d..9879ec6 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.99 2002/05/31 22:20:20 dgp Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.100 2002/06/06 17:37:55 das Exp $ VERSION = @TCL_VERSION@ @@ -466,6 +466,7 @@ tcltest-real: test: tcltest LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; \ + DYLD_LIBRARY_PATH=`pwd`:${DYLD_LIBRARY_PATH}; export DYLD_LIBRARY_PATH; \ LIBPATH=`pwd`:${LIBPATH}; export LIBPATH; \ SHLIB_PATH=`pwd`:${SHLIB_PATH}; export SHLIB_PATH; \ TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ @@ -474,6 +475,7 @@ test: tcltest # Useful target to launch a built tcltest with the proper path,... runtest: tcltest LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; \ + DYLD_LIBRARY_PATH=`pwd`:${DYLD_LIBRARY_PATH}; export DYLD_LIBRARY_PATH; \ LIBPATH=`pwd`:${LIBPATH}; export LIBPATH; \ SHLIB_PATH=`pwd`:${SHLIB_PATH}; export SHLIB_PATH; \ TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ @@ -483,6 +485,7 @@ runtest: tcltest # via `make shell SCRIPT=/tmp/foo.tcl` shell: tclsh @LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; \ + @DYLD_LIBRARY_PATH=`pwd`:${DYLD_LIBRARY_PATH}; export DYLD_LIBRARY_PATH; \ LIBPATH=`pwd`:${LIBPATH}; export LIBPATH; \ SHLIB_PATH=`pwd`:${SHLIB_PATH}; export SHLIB_PATH; \ TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ @@ -491,6 +494,7 @@ shell: tclsh # This target can be used to run tclsh inside either gdb or insight gdb: tclsh @echo "set env LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}" > gdb.run + @echo "set env DYLD_LIBRARY_PATH=`pwd`:${DYLD_LIBRARY_PATH}" > gdb.run @echo "set env LIBPATH=`pwd`:${LIBPATH}" >> gdb.run @echo "set env SHLIB_PATH=`pwd`:${SHLIB_PATH}" >> gdb.run @echo "set env TCL_LIBRARY=${TCL_BUILDTIME_LIBRARY}" >> gdb.run |