diff options
author | das <das> | 2007-09-15 06:01:34 (GMT) |
---|---|---|
committer | das <das> | 2007-09-15 06:01:34 (GMT) |
commit | 9601adbf6f9a0de01172a4913359dffb2d8b644a (patch) | |
tree | 35e241222509656c7ff21a7d7a4a3b2ff716c79c /unix/tcl.m4 | |
parent | 48612f89105e48673d5a4e1e857bf54a0a5d7ca1 (diff) | |
download | tcl-9601adbf6f9a0de01172a4913359dffb2d8b644a.zip tcl-9601adbf6f9a0de01172a4913359dffb2d8b644a.tar.gz tcl-9601adbf6f9a0de01172a4913359dffb2d8b644a.tar.bz2 |
* unix/tcl.m4 (SunOS-5.1x): replace direct use of '/usr/ccs/bin/ld'
in SHLIB_LD by 'cc' compiler driver.
* unix/configure: autoconf-2.13
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 6b087dc..94b1cc0 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -1924,7 +1924,12 @@ dnl AC_CHECK_TOOL(AR, ar) #CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir" fi else - SHLIB_LD="/usr/ccs/bin/ld -G -z text" + case $system in + SunOS-5.[[1-9]][[0-9]]*) + SHLIB_LD='${CC} -G -z text';; + *) + SHLIB_LD="/usr/ccs/bin/ld -G -z text";; + esac CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' fi |