summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in18
1 files changed, 12 insertions, 6 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 0e4a264..0aa8848 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.10 1998/07/24 15:04:12 welch Exp $
+# SCCS: @(#) configure.in 1.10 98/07/24 15:04:12
TCL_VERSION=8.0
TCL_MAJOR_VERSION=8
@@ -1096,10 +1096,10 @@ AC_ARG_ENABLE(symbols, [ --enable-symbols build with debugging symbols],
[tcl_ok=$enableval], [tcl_ok=no])
if test "$tcl_ok" = "yes"; then
CFLAGS_DEFAULT=CFLAGS_DEBUG
- DBGX=g
+ TCL_DBGX=g
else
CFLAGS_DEFAULT=CFLAGS_OPTIMIZE
- DBGX=""
+ TCL_DBGX=""
fi
#--------------------------------------------------------------------
@@ -1205,15 +1205,20 @@ VERSION='${VERSION}'
eval "CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}"
eval "CFG_TCL_UNSHARED_LIB_SUFFIX=${TCL_UNSHARED_LIB_SUFFIX}"
+# Trick to replace ${DBGX} with ${TCL_DBGX} in TCL_LIB_FILE def
+DBGX='${TCL_DBGX}'
+eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
+
+
# Note: in the following variable, it's important to use the absolute
# path name of the Tcl directory rather than "..": this is because
# AIX remembers this path and will attempt to use it at run-time to look
# up the Tcl library.
if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
- TCL_LIB_FLAG="-ltcl${TCL_VERSION}\${DBGX}"
+ TCL_LIB_FLAG="-ltcl${TCL_VERSION}\${TCL_DBGX}"
else
- TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`\${DBGX}"
+ TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}"
fi
TCL_BUILD_LIB_SPEC="-L`pwd` \${TCL_LIB_FLAG}"
TCL_LIB_SPEC="-L${exec_prefix}/lib \${TCL_LIB_FLAG}"
@@ -1238,7 +1243,8 @@ AC_SUBST(CFLAGS_OPTIMIZE)
AC_SUBST(CFLAGS_WARNING)
AC_SUBST(CFG_TCL_SHARED_LIB_SUFFIX)
AC_SUBST(CFG_TCL_UNSHARED_LIB_SUFFIX)
-AC_SUBST(DBGX)
+AC_SUBST(CFG_TCL_LIB_FILE)
+AC_SUBST(TCL_DBGX)
AC_SUBST(DL_LIBS)
AC_SUBST(DL_OBJS)
AC_SUBST(LD_FLAGS)