summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-10-15 21:16:31 (GMT)
committerhobbs <hobbs>2001-10-15 21:16:31 (GMT)
commit6215f547b7bcf09febfe15c8c23a3742d407a25b (patch)
tree50b41138f82bef47533dca3aed4f68828449dd58 /unix/configure
parentcf2f280c08cae3a18c4d328877f8fbf638de36bf (diff)
downloadtcl-6215f547b7bcf09febfe15c8c23a3742d407a25b.zip
tcl-6215f547b7bcf09febfe15c8c23a3742d407a25b.tar.gz
tcl-6215f547b7bcf09febfe15c8c23a3742d407a25b.tar.bz2
* unix/configure:
* unix/configure.in: * win/configure: * win/configure.in: * win/tcl.m4: reworked to be a little cleaner in comparison to each other, and to AC_SUBST even empty vars for win/tclConfig.sh
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure53
1 files changed, 27 insertions, 26 deletions
diff --git a/unix/configure b/unix/configure
index 5ed8715..bcfd51c 100755
--- a/unix/configure
+++ b/unix/configure
@@ -6061,9 +6061,9 @@ EOF
fi
+TCL_LD_SEARCH_FLAGS="${LD_SEARCH_FLAGS}"
if test "${SHARED_BUILD}" = "1" -a "${SHLIB_SUFFIX}" != "" ; then
TCL_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
- 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="\${STLIB_LD} \$@ \${OBJS}"
@@ -6084,7 +6084,6 @@ else
;;
esac
TCL_SHLIB_CFLAGS=""
- TCL_LD_SEARCH_FLAGS="${LD_SEARCH_FLAGS}"
eval "TCL_LIB_FILE=libtcl${TCL_UNSHARED_LIB_SUFFIX}"
MAKE_LIB="\${STLIB_LD} \$@ \${OBJS}"
fi
@@ -6191,7 +6190,11 @@ TCL_SHARED_BUILD=${SHARED_BUILD}
-# FIXME: Should this be TCL_LDFLAGS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