summaryrefslogtreecommitdiffstats
path: root/unix/tclConfig.sh.in
diff options
context:
space:
mode:
authormdejong <mdejong>2002-07-28 03:15:10 (GMT)
committermdejong <mdejong>2002-07-28 03:15:10 (GMT)
commit8ad6452f7dc366f56dcb758bea0740353758aa73 (patch)
tree05dded38d7f92ef347329a5d4d245dd79375b0d1 /unix/tclConfig.sh.in
parentfca561b9dbf80d45ad5874fcd49d334c18c67532 (diff)
downloadtcl-8ad6452f7dc366f56dcb758bea0740353758aa73.zip
tcl-8ad6452f7dc366f56dcb758bea0740353758aa73.tar.gz
tcl-8ad6452f7dc366f56dcb758bea0740353758aa73.tar.bz2
* unix/Makefile.in: Revert fix for Tcl bug 529801
since it was incorrect and broke the build on other systems. Fix Tcl bug 587299. Add MAJOR_VERSION, MINOR_VERSION, PATCH_LEVEL, SHLIB_LD_FLAGS, SHLIB_LD_LIBS, CC_SEARCH_FLAGS, LD_SEARCH_FLAGS, and LIB_FILE variables to support more generic library build/install rules. * unix/configure: Regen. * unix/configure.in: Move AC_PROG_RANLIB into tcl.m4. Move shared build test and setting of MAKE_LIB and MAKE_STUB_LIB into tcl.m4. Move subst of a number of variables into tcl.m4 where they are defined. * unix/tcl.m4 (SC_ENABLE_SYMBOLS, SC_CONFIG_CFLAGS): Subst vars where they are defined. Add MAKE_LIB, MAKE_STUB_LIB, INSTALL_LIB, and INSTALL_STUB_LIB rules to deal with the ugly details of running ranlib on static libs at build and install time. Replace TCL_SHLIB_LD_EXTRAS with SHLIB_LD_FLAGS and use it when building a shared library. * unix/tclConfig.sh.in: Add TCL_CC_SEARCH_FLAGS.
Diffstat (limited to 'unix/tclConfig.sh.in')
-rw-r--r--unix/tclConfig.sh.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/unix/tclConfig.sh.in b/unix/tclConfig.sh.in
index 8ef3f8f..2ff0af5 100644
--- a/unix/tclConfig.sh.in
+++ b/unix/tclConfig.sh.in
@@ -9,7 +9,7 @@
#
# The information in this file is specific to a single platform.
#
-# RCS: @(#) $Id: tclConfig.sh.in,v 1.16 2001/11/08 03:07:21 mdejong Exp $
+# RCS: @(#) $Id: tclConfig.sh.in,v 1.17 2002/07/28 03:15:11 mdejong Exp $
# Tcl's version number.
TCL_VERSION='@TCL_VERSION@'
@@ -96,7 +96,8 @@ TCL_LD_FLAGS='@LDFLAGS@'
# run-time dynamic linker where to look for shared libraries such as
# libtcl.so. Used when linking applications. Only works if there
# is a variable "LIB_RUNTIME_DIR" defined in the Makefile.
-TCL_LD_SEARCH_FLAGS='@TCL_LD_SEARCH_FLAGS@'
+TCL_CC_SEARCH_FLAGS='@CC_SEARCH_FLAGS@'
+TCL_LD_SEARCH_FLAGS='@LD_SEARCH_FLAGS@'
# Additional object files linked with Tcl to provide compatibility
# with standard facilities from ANSI C or POSIX.