summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorescoffon <escoffon>1998-07-21 15:25:42 (GMT)
committerescoffon <escoffon>1998-07-21 15:25:42 (GMT)
commitbdc74a471aa0644cdb55f70d1f751b360f70d543 (patch)
tree4c20defe18daa071eded92cbee3c9498b650563b /unix
parent78fb54b92486e46f62c08bf7c5cffc643630c161 (diff)
downloadtcl-bdc74a471aa0644cdb55f70d1f751b360f70d543.zip
tcl-bdc74a471aa0644cdb55f70d1f751b360f70d543.tar.gz
tcl-bdc74a471aa0644cdb55f70d1f751b360f70d543.tar.bz2
Merged changes between child workspace "/home/escoffon/ws/tcl8.0" and
parent workspace "/export/home/ws/tcl8.0".
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile.in3
-rw-r--r--unix/configure.in17
2 files changed, 12 insertions, 8 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 180ce03..8a96a01 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -178,6 +178,9 @@ BUILD_DLTEST = @BUILD_DLTEST@
TCL_LIB_FILE = @TCL_LIB_FILE@
#TCL_LIB_FILE = libtcl.a
+TCL_LIB_FLAG = @TCL_LIB_FLAG@
+#TCL_LIB_FLAG = -ltcl
+
#----------------------------------------------------------------
# The information below is modified by the configure script when
# Makefile is generated from Makefile.in. You shouldn't normally
diff --git a/unix/configure.in b/unix/configure.in
index 2462617..fd88976 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -2,7 +2,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tcl installation
dnl to configure the system for the local environment.
AC_INIT(../generic/tcl.h)
-# SCCS: %Z% $Id: configure.in,v 1.7 1998/07/20 16:54:38 welch Exp $
+# SCCS: %Z% $Id: configure.in,v 1.8 1998/07/21 15:26:05 escoffon Exp $
TCL_VERSION=8.0
TCL_MAJOR_VERSION=8
@@ -1167,9 +1167,9 @@ if test "$tcl_ok" = "yes" -a "${SHLIB_SUFFIX}" != "" ; then
TCL_LD_SEARCH_FLAGS="${LD_SEARCH_FLAGS}"
eval "TCL_LIB_FILE=libtcl${TCL_SHARED_LIB_SUFFIX}"
if test "x$DL_OBJS" = "xtclLoadAout.o"; then
- MAKE_LIB="ar cr ${TCL_LIB_FILE} \${OBJS}"
+ MAKE_LIB="ar cr \${TCL_LIB_FILE} \${OBJS}"
else
- MAKE_LIB="\${SHLIB_LD} -o ${TCL_LIB_FILE} \${OBJS} ${SHLIB_LD_LIBS}"
+ MAKE_LIB="\${SHLIB_LD} -o \${TCL_LIB_FILE} \${OBJS} ${SHLIB_LD_LIBS}"
RANLIB=":"
fi
else
@@ -1188,7 +1188,7 @@ else
TCL_SHLIB_CFLAGS=""
TCL_LD_SEARCH_FLAGS=""
eval "TCL_LIB_FILE=libtcl${TCL_UNSHARED_LIB_SUFFIX}"
- MAKE_LIB="ar cr ${TCL_LIB_FILE} \${OBJS}"
+ MAKE_LIB="ar cr \${TCL_LIB_FILE} \${OBJS}"
fi
# tclConfig.sh needs a version of the _LIB_SUFFIX that has been eval'ed
@@ -1203,12 +1203,12 @@ eval "CFG_TCL_UNSHARED_LIB_SUFFIX=${TCL_UNSHARED_LIB_SUFFIX}"
# up the Tcl library.
if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
- TCL_BUILD_LIB_SPEC="-L`pwd` -ltcl${VERSION}\${DBGX}"
- TCL_LIB_SPEC="-L${exec_prefix}/lib -ltcl${VERSION}\${DBGX}"
+ TCL_LIB_FLAG="-ltcl${VERSION}\${DBGX}"
else
- TCL_BUILD_LIB_SPEC="-L`pwd` -ltcl`echo ${VERSION} | tr -d .`\${DBGX}"
- TCL_LIB_SPEC="-L${exec_prefix}/lib -ltcl`echo ${VERSION} | tr -d .`\${DBGX}"
+ TCL_LIB_FLAG="-ltcl`echo ${VERSION} | tr -d .`\${DBGX}"
fi
+TCL_BUILD_LIB_SPEC="-L`pwd` \${TCL_LIB_FLAG}"
+TCL_LIB_SPEC="-L${exec_prefix}/lib \${TCL_LIB_FLAG}"
#--------------------------------------------------------------------
# The statements below define the symbol TCL_PACKAGE_PATH, which
@@ -1242,6 +1242,7 @@ AC_SUBST(SHLIB_SUFFIX)
AC_SUBST(TCL_BUILD_LIB_SPEC)
AC_SUBST(TCL_LD_SEARCH_FLAGS)
AC_SUBST(TCL_LIB_FILE)
+AC_SUBST(TCL_LIB_FLAG)
AC_SUBST(TCL_LIB_SPEC)
AC_SUBST(TCL_LIB_VERSIONS_OK)
AC_SUBST(TCL_MAJOR_VERSION)