From e014c54efc432a769bc21592a05c504cf19e1612 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 16 Dec 1996 11:53:50 +0000 Subject: Reverse the tcl configure's decision to "disable" the use of ranlib since it's wrong. It "knows" that ranlib is not used on shared libraries, this is not a valid assumption since it exports this definition to the world via tclConfig.sh. :-( Hence, things like expect (to be updated) fall over because they were using ":" instead of "ranlib" on their static libraries. --- tools/tools/tcl_bmake/mkMakefile.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/tools/tcl_bmake/mkMakefile.sh b/tools/tools/tcl_bmake/mkMakefile.sh index 668ea73..1492d93 100644 --- a/tools/tools/tcl_bmake/mkMakefile.sh +++ b/tools/tools/tcl_bmake/mkMakefile.sh @@ -1,5 +1,5 @@ #! /bin/sh -# $Id: mkMakefile.sh,v 1.15 1996/10/30 08:44:18 peter Exp $ +# $Id: mkMakefile.sh,v 1.16 1996/10/31 15:57:25 peter Exp $ # # This script generates a bmake Makefile for src/lib/libtcl # @@ -45,7 +45,7 @@ echo '# # Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead # # Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version: -# $Id: mkMakefile.sh,v 1.15 1996/10/30 08:44:18 peter Exp $ +# $Id: mkMakefile.sh,v 1.16 1996/10/31 15:57:25 peter Exp $ # ' | tr -d '$' >> ${LIBTCL}Makefile @@ -205,6 +205,7 @@ EOF sed < ${SRCDIR}/unix/tclConfig.sh > ${LIBTCL}/tclConfig.sh \ -e '/^TCL.*_LIB_SPEC=/s/-L.* //' \ - -e "/libtcl/s/\.so\.1\.0/.so.1.${SHLIB_MINOR}/" + -e "/libtcl/s/\.so\.1\.0/.so.1.${SHLIB_MINOR}/" \ + -e "/RANLIB/s/:/ranlib/" rm -f m.x ${SRCDIR}/unix/config.log ${SRCDIR}/unix/Makefile ${SRCDIR}/unix/config.cache ${SRCDIR}/unix/config.status ${SRCDIR}/unix/tclConfig.sh -- cgit v1.1