summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwart <wart@noemail.net>1999-07-29 19:21:32 (GMT)
committerwart <wart@noemail.net>1999-07-29 19:21:32 (GMT)
commitbb2a71d83fe61d0e1f0f25486ca16f880ec6e7d6 (patch)
tree24af173fbb2b40ec55d13a362131f67870d1b01a
parentdd37433cf347a72a1d8af3a6a7f90cd5f62f756d (diff)
downloadtcl-bb2a71d83fe61d0e1f0f25486ca16f880ec6e7d6.zip
tcl-bb2a71d83fe61d0e1f0f25486ca16f880ec6e7d6.tar.gz
tcl-bb2a71d83fe61d0e1f0f25486ca16f880ec6e7d6.tar.bz2
Added lines so that extensions can set up static linker (ar vs. lib) and
C compiler warning flags easily. FossilOrigin-Name: 8ccef65e92647c33a871988aa3d66f222a5dd507
-rw-r--r--unix/tclConfig.sh.in10
-rw-r--r--win/tclConfig.sh.in8
2 files changed, 15 insertions, 3 deletions
diff --git a/unix/tclConfig.sh.in b/unix/tclConfig.sh.in
index ca5ada2..36df936 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.12 1999/07/28 18:51:29 wart Exp $
+# RCS: @(#) $Id: tclConfig.sh.in,v 1.13 1999/07/29 19:21:32 wart Exp $
# Tcl's version number.
TCL_VERSION='@TCL_VERSION@'
@@ -31,7 +31,7 @@ TCL_DBGX=@TCL_DBGX@
TCL_CFLAGS_DEBUG='@CFLAGS_DEBUG@'
TCL_CFLAGS_OPTIMIZE='@CFLAGS_OPTIMIZE@'
-# Default flags used in an optimized and debuggable build, respectively.
+# Default linker flags used in an optimized and debuggable build, respectively.
TCL_LDFLAGS_DEBUG='@LDFLAGS_DEBUG@'
TCL_LDFLAGS_OPTIMIZE='@LDFLAGS_OPTIMIZE@'
@@ -64,12 +64,18 @@ TCL_EXEC_PREFIX='@exec_prefix@'
# Flags to pass to cc when compiling the components of a shared library:
TCL_SHLIB_CFLAGS='@SHLIB_CFLAGS@'
+# Flags to pass to cc to get warning messages
+TCL_CFLAGS_WARNING='@CFLAGS_WARNING@'
+
# Extra flags to pass to cc:
TCL_EXTRA_CFLAGS='@EXTRA_CFLAGS@'
# Base command to use for combining object files into a shared library:
TCL_SHLIB_LD='@SHLIB_LD@'
+# Base command to use for combining object files into a shared library:
+TCL_STLIB_LD='@STLIB_LD@'
+
# Either '$LIBS' (if dependent libraries should be included when linking
# shared libraries) or an empty string. See Tcl's configure.in for more
# explanation.
diff --git a/win/tclConfig.sh.in b/win/tclConfig.sh.in
index 3258d3d..aaaee8d 100644
--- a/win/tclConfig.sh.in
+++ b/win/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.2 1999/07/28 18:51:30 wart Exp $
+# RCS: @(#) $Id: tclConfig.sh.in,v 1.3 1999/07/29 19:21:32 wart Exp $
TCL_SRC_DIR="@TCL_SRC_DIR@"
@@ -73,12 +73,18 @@ TCL_EXEC_PREFIX='@exec_prefix@'
# Flags to pass to cc when compiling the components of a shared library:
TCL_SHLIB_CFLAGS='@SHLIB_CFLAGS@'
+# Flags to pass to cc to get warning messages
+TCL_CFLAGS_WARNING='@CFLAGS_WARNING@'
+
# Extra flags to pass to cc:
TCL_EXTRA_CFLAGS='@EXTRA_CFLAGS@'
# Base command to use for combining object files into a shared library:
TCL_SHLIB_LD='@SHLIB_LD@'
+# Base command to use for combining object files into a shared library:
+TCL_STLIB_LD='@STLIB_LD@'
+
# Either '$LIBS' (if dependent libraries should be included when linking
# shared libraries) or an empty string. See Tcl's configure.in for more
# explanation.