darwinpatches.tcl833	N·Sä½·WÃmBINIndex: unix/configure.in
===================================================================
RCS file: /cvsroot/tcl/tcl/unix/configure.in,v
retrieving revision 1.57.2.2
diff -r1.57.2.2 configure.in
382c382
< 	MAKE_LIB="\${SHLIB_LD} -o \${TCL_LIB_FILE} \${OBJS} ${SHLIB_LD_LIBS}"
---
> 	MAKE_LIB="\${SHLIB_LD} ${TCL_SHLIB_LD_EXTRAS} -o \${TCL_LIB_FILE} \${OBJS} ${SHLIB_LD_LIBS}"
516,517c516,517
< AC_SUBST(TCL_LDFLAGS_DEBUG)
< AC_SUBST(TCL_LDFLAGS_OPTIMIZE)
---
> AC_SUBST(LDFLAGS_DEBUG)      #AC_SUBST(TCL_LDFLAGS_DEBUG)
> AC_SUBST(LDFLAGS_OPTIMIZE)   #AC_SUBST(TCL_LDFLAGS_OPTIMIZE)
Index: unix/tcl.m4
===================================================================
RCS file: /cvsroot/tcl/tcl/unix/tcl.m4,v
retrieving revision 1.22.2.3
diff -r1.22.2.3 tcl.m4
898,899c898,900
< 	    SHLIB_LD="cc -dynamiclib \${LDFLAGS} -compatibility_version ${TCL_MAJOR_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\${TCL_LIB_FILE}"
< 	    SHLIB_LD_LIBS=""
---
> 	    SHLIB_LD="cc -dynamiclib \${LDFLAGS}"
> 	    TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_MAJOR_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\${TCL_LIB_FILE}"
> 	    SHLIB_LD_LIBS='${LIBS}'
Index: unix/tclLoadDyld.c
===================================================================
RCS file: /cvsroot/tcl/tcl/unix/tclLoadDyld.c,v
retrieving revision 1.2.2.1
diff -r1.2.2.1 tclLoadDyld.c
15c15
<  * RCS: @(#) $Id: tclLoadDyld.c,v 1.2.2.1 2001/04/06 18:42:39 hobbs Exp $
---
>  * RCS: @(#) $Id: tclLoadDyld.c,v 1.1.1.1 2001/04/23 17:18:24 jingham Exp $
21,25d20
< /* For compatibility with older API. */
< #ifndef NSLINKMODULE_OPTION_PRIVATE
< #define NSLINKMODULE_OPTION_PRIVATE TRUE
< #endif
< 
65a61,68
>     enum DYLD_BOOL dyld_return;
> 
>     dyld_return = NSAddLibrary(fileName);
>     
>     if (dyld_return !=  TRUE) {
>       Tcl_SetResult (interp, "dyld: Couldn't add library", TCL_STATIC);
>       return TCL_ERROR;
>     }
66a70
> #if 0
95c99
<     module = NSLinkModule(image, fileName, NSLINKMODULE_OPTION_PRIVATE);
---
>     module = NSLinkModule(image, fileName, TRUE);
101a106,107
> #endif
> 
104,106d109
< #ifdef NSLINKMODULE_OPTION_PRIVATE
<     symbol = NSLookupSymbolInModule(module, name);
< #else
108d110
< #endif
114,116d115
< #ifdef NSLINKMODULE_OPTION_PRIVATE
<     symbol = NSLookupSymbolInModule(module, name);
< #else
118d116
< #endif
