Tcl Source Code

Check-in [9f5893b2e8]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:[29044ba23f] Remove RANLIB as part of library installation. At best it's redundant to the RANLIB already done as part of library build. At worst, it conflicts with needs of cross-compiling. Thanks Erik Leunissen.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9f5893b2e81f95760e9173e9ef89e11e5a7322e9
User & Date: dgp 2015-05-20 15:12:50
Context
2015-05-20
15:15
Missed a bit check-in: 8d6572f68a user: dgp tags: trunk
15:12
[29044ba23f] Remove RANLIB as part of library installation. At best it's redundant to the RANLIB al... check-in: 9f5893b2e8 user: dgp tags: trunk
2015-05-19
20:34
Simplify code generation for a list of literals. Generates slightly simpler bytecode too. check-in: 1a292c2874 user: dkf tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to unix/Makefile.in.

   779    779   install: $(INSTALL_TARGETS)
   780    780   
   781    781   install-strip:
   782    782   	$(MAKE) $(INSTALL_TARGETS) \
   783    783   		INSTALL_PROGRAM="$(INSTALL_PROGRAM) ${INSTALL_STRIP_PROGRAM}" \
   784    784   		INSTALL_LIBRARY="$(INSTALL_LIBRARY) ${INSTALL_STRIP_LIBRARY}"
   785    785   
   786         -# Note: before running ranlib below, must cd to target directory because some
   787         -# ranlibs write to current directory, and this might not always be possible
   788         -# (e.g. if installing as root).
   789         -
   790    786   install-binaries: binaries
   791    787   	@for i in "$(LIB_INSTALL_DIR)" "$(BIN_INSTALL_DIR)" \
   792    788   		"$(CONFIG_INSTALL_DIR)"; \
   793    789   	    do \
   794    790   	    if [ ! -d "$$i" ] ; then \
   795    791   		echo "Making directory $$i"; \
   796    792   		$(INSTALL_DATA_DIR) "$$i"; \

Changes to unix/configure.

  8852   8852   else
  8853   8853   
  8854   8854           LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
  8855   8855   
  8856   8856           if test "$RANLIB" = ""; then
  8857   8857   
  8858   8858               MAKE_LIB='$(STLIB_LD) [email protected] ${OBJS}'
  8859         -            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE)"'
  8860   8859   
  8861   8860   else
  8862   8861   
  8863   8862               MAKE_LIB='${STLIB_LD} [email protected] ${OBJS} ; ${RANLIB} [email protected]'
  8864         -            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE)" ; (cd "$(LIB_INSTALL_DIR)" ; $(RANLIB) $(LIB_FILE))'
  8865   8863   
  8866   8864   fi
  8867   8865   
         8866  +        INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE)"'
  8868   8867   
  8869   8868   fi
  8870   8869   
  8871   8870   
  8872   8871       # Stub lib does not depend on shared/static configuration
  8873   8872       if test "$RANLIB" = ""; then
  8874   8873   

Changes to unix/tcl.m4.

  2056   2056               INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE)"'
  2057   2057           ])
  2058   2058       ], [
  2059   2059           LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
  2060   2060   
  2061   2061           AS_IF([test "$RANLIB" = ""], [
  2062   2062               MAKE_LIB='$(STLIB_LD) [$]@ ${OBJS}'
  2063         -            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE)"'
  2064   2063           ], [
  2065   2064               MAKE_LIB='${STLIB_LD} [$]@ ${OBJS} ; ${RANLIB} [$]@'
  2066         -            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE)" ; (cd "$(LIB_INSTALL_DIR)" ; $(RANLIB) $(LIB_FILE))'
  2067   2065           ])
         2066  +        INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE)"'
  2068   2067       ])
  2069   2068   
  2070   2069       # Stub lib does not depend on shared/static configuration
  2071   2070       AS_IF([test "$RANLIB" = ""], [
  2072   2071           MAKE_STUB_LIB='${STLIB_LD} [$]@ ${STUB_LIB_OBJS}'
  2073   2072           INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) "$(LIB_INSTALL_DIR)/$(STUB_LIB_FILE)"'
  2074   2073       ], [