summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-02-05 01:30:42 (GMT)
committerhobbs <hobbs>2002-02-05 01:30:42 (GMT)
commit226f70068ceb9519f6e25f36a3694139837dfbe8 (patch)
tree2f2cf1803ef75abd5269478a26ca73d679e7b60c /unix/configure.in
parentb6b2117127594fb8420e5e25f8df8c3566be722a (diff)
downloadtcl-226f70068ceb9519f6e25f36a3694139837dfbe8.zip
tcl-226f70068ceb9519f6e25f36a3694139837dfbe8.tar.gz
tcl-226f70068ceb9519f6e25f36a3694139837dfbe8.tar.bz2
get full path to pwd to avoid errors on AIX-4.3
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in24
1 files changed, 8 insertions, 16 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 80134f8..ab4f50c 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -3,7 +3,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.
#
-# RCS: @(#) $Id: configure.in,v 1.79 2002/02/05 01:02:21 hobbs Exp $
+# RCS: @(#) $Id: configure.in,v 1.80 2002/02/05 01:30:43 hobbs Exp $
AC_INIT(../generic/tcl.h)
@@ -425,21 +425,13 @@ eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
# AIX remembers this path and will attempt to use it at run-time to look
# up the Tcl library.
-# AIX 4.3.3 has a somewhat broken pwd (reported also by other projects)
-# that makes us have to hardware /bin/pwd for AIX here.
-if test "$system" = "AIX-4.3" ; then
- PWD=`/bin/pwd`
-else
- PWD=`pwd`
-fi
-
if test "$SHARED_BUILD" = "0" -o $TCL_NEEDS_EXP_FILE = 0; then
if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
TCL_LIB_FLAG="-ltcl${TCL_VERSION}\${TCL_DBGX}"
else
TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}"
fi
- TCL_BUILD_LIB_SPEC="-L${PWD} ${TCL_LIB_FLAG}"
+ TCL_BUILD_LIB_SPEC="-L`${PWD}` ${TCL_LIB_FLAG}"
TCL_LIB_SPEC="-L${libdir} ${TCL_LIB_FLAG}"
else
TCL_BUILD_EXP_FILE="lib.exp"
@@ -449,11 +441,11 @@ else
eval "TCL_EXP_FILE=\"${TCL_EXP_FILE}\""
if test "$GCC" = "yes" ; then
- TCL_BUILD_LIB_SPEC="-Wl,-bI:${PWD}/${TCL_BUILD_EXP_FILE} -L${PWD}"
- TCL_LIB_SPEC="-Wl,-bI:${libdir}/${TCL_EXP_FILE} -L${PWD}"
+ TCL_BUILD_LIB_SPEC="-Wl,-bI:`${PWD}`/${TCL_BUILD_EXP_FILE} -L`${PWD}`"
+ TCL_LIB_SPEC="-Wl,-bI:${libdir}/${TCL_EXP_FILE} -L`${PWD}`"
else
- TCL_BUILD_LIB_SPEC="-bI:${PWD}/${TCL_BUILD_EXP_FILE}"
- TCL_LIB_SPEC="-bI:${libdir}/${TCL_EXP_FILE}"
+ TCL_BUILD_LIB_SPEC="-bI:`${PWD}`/${TCL_BUILD_EXP_FILE}"
+ TCL_LIB_SPEC="-bI:${libdir}/${TCL_EXP_FILE}"
fi
fi
VERSION='${VERSION}'
@@ -493,9 +485,9 @@ else
TCL_STUB_LIB_FLAG="-ltclstub`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}"
fi
-TCL_BUILD_STUB_LIB_SPEC="-L${PWD} ${TCL_STUB_LIB_FLAG}"
+TCL_BUILD_STUB_LIB_SPEC="-L`${PWD}` ${TCL_STUB_LIB_FLAG}"
TCL_STUB_LIB_SPEC="-L${libdir} ${TCL_STUB_LIB_FLAG}"
-TCL_BUILD_STUB_LIB_PATH="${PWD}/${TCL_STUB_LIB_FILE}"
+TCL_BUILD_STUB_LIB_PATH="`${PWD}`/${TCL_STUB_LIB_FILE}"
TCL_STUB_LIB_PATH="${libdir}/${TCL_STUB_LIB_FILE}"
# Install time header dir can be set via --includedir