diff options
author | das <das> | 2007-09-15 06:01:34 (GMT) |
---|---|---|
committer | das <das> | 2007-09-15 06:01:34 (GMT) |
commit | 111e92bc0ba709bc2adf7adf41ed37dcb2bc3618 (patch) | |
tree | 35e241222509656c7ff21a7d7a4a3b2ff716c79c /unix/tcl.m4 | |
parent | 71f683fd830092a39bebdaf4c88fa97928fcb5be (diff) | |
download | tcl-111e92bc0ba709bc2adf7adf41ed37dcb2bc3618.zip tcl-111e92bc0ba709bc2adf7adf41ed37dcb2bc3618.tar.gz tcl-111e92bc0ba709bc2adf7adf41ed37dcb2bc3618.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 |