
ranlib1.patch¹l¤¹¹l¤¹mBINû=Index: configure.in
===================================================================
RCS file: /cvsroot/tcl/tcl/unix/configure.in,v
retrieving revision 1.57.2.11
diff -u -r1.57.2.11 configure.in
--- configure.in	24 Jul 2002 13:54:47 -0000	1.57.2.11
+++ configure.in	30 Jul 2002 10:00:25 -0000
@@ -389,6 +389,7 @@
 	MAKE_LIB="\${STLIB_LD} \[$]@ \${OBJS}"
     else
 	MAKE_LIB="\${SHLIB_LD} ${TCL_SHLIB_LD_EXTRAS} -o \[$]@ \${OBJS} ${SHLIB_LD_LIBS}"
+	RANLIB=":"
     fi
 else
     case $system in
@@ -405,9 +406,11 @@
     TCL_SHLIB_CFLAGS=""
     eval "TCL_LIB_FILE=libtcl${TCL_UNSHARED_LIB_SUFFIX}"
     MAKE_LIB="\${STLIB_LD} \[$]@ \${OBJS}"
-    if test "x$DL_OBJS" = "xtclLoadDyld.o"; then
-	MAKE_LIB="${MAKE_LIB} ; \${RANLIB} \$@"
-    fi
+    case $system in
+	Darwin-*)
+	    MAKE_LIB="${MAKE_LIB} ; \${RANLIB} \$@"
+	    ;;
+    esac
 fi
 
 # tclConfig.sh needs a version of the _LIB_SUFFIX that has been eval'ed
