summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authordas <das>2007-09-15 06:01:49 (GMT)
committerdas <das>2007-09-15 06:01:49 (GMT)
commit9cb3e56d980056653ca7d4a1173bb7d07dc87f7a (patch)
tree65185e00a6b6086693889e7c5c1581663dc1e47b /unix/tcl.m4
parent7548e69f75b914997b3a2f1f0404eb7693b426d1 (diff)
downloadtk-9cb3e56d980056653ca7d4a1173bb7d07dc87f7a.zip
tk-9cb3e56d980056653ca7d4a1173bb7d07dc87f7a.tar.gz
tk-9cb3e56d980056653ca7d4a1173bb7d07dc87f7a.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.m47
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