summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-09-20 01:02:44 (GMT)
committerhobbs <hobbs>2001-09-20 01:02:44 (GMT)
commit43ce4a3c4a76eeb1a99a53e43ec6d32433e77680 (patch)
treeb9626682198fb860f22489155b7b8ffb7cd0bfab /unix/tcl.m4
parent4f9d27be91f816cd648915e4cc15e6d4bc23366d (diff)
downloadtcl-43ce4a3c4a76eeb1a99a53e43ec6d32433e77680.zip
tcl-43ce4a3c4a76eeb1a99a53e43ec6d32433e77680.tar.gz
tcl-43ce4a3c4a76eeb1a99a53e43ec6d32433e77680.tar.bz2
* unix/configure: regen'ed
* unix/tcl.m4: added --enable-64bit support for HP-11 with the 64-bit kernel.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m424
1 files changed, 23 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 37ba6b3..0fafaf3 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -700,7 +700,29 @@ dnl AC_CHECK_TOOL(AR, ar, :)
LDFLAGS=""
LD_SEARCH_FLAGS=""
;;
- HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*|HP-UX-*.11.*)
+ HP-UX-*.11.*)
+ SHLIB_SUFFIX=".sl"
+ AC_CHECK_LIB(dld, shl_load, tcl_ok=yes, tcl_ok=no)
+ if test "$tcl_ok" = yes; then
+ SHLIB_CFLAGS="+z"
+ SHLIB_LD="ld -b"
+ SHLIB_LD_LIBS=""
+ DL_OBJS="tclLoadShl.o"
+ DL_LIBS="-ldld"
+ LDFLAGS="-Wl,-E"
+ LD_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
+ fi
+ if test "$do64bit" = "yes" ; then
+ if test "$GCC" = "yes" ; then
+ AC_MSG_WARN("64bit mode not supported with GCC on $system")
+ else
+ do64bit_ok=yes
+ EXTRA_CFLAGS="+DA2.0W"
+ LDFLAGS="+DA2.0W $LDFLAGS"
+ fi
+ fi
+ ;;
+ HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
SHLIB_SUFFIX=".sl"
AC_CHECK_LIB(dld, shl_load, tcl_ok=yes, tcl_ok=no)
if test "$tcl_ok" = yes; then