summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorhobbs <hobbs>2007-02-19 23:51:06 (GMT)
committerhobbs <hobbs>2007-02-19 23:51:06 (GMT)
commitb0f20f7621b7a266aa45d3f289e913e510986ce1 (patch)
treee01f3349dbd741513ced9f83a3b30e60fccab98e /unix
parent96466cfddf10a573f506e12f2414c193d3418c66 (diff)
downloadtcl-b0f20f7621b7a266aa45d3f289e913e510986ce1.zip
tcl-b0f20f7621b7a266aa45d3f289e913e510986ce1.tar.gz
tcl-b0f20f7621b7a266aa45d3f289e913e510986ce1.tar.bz2
* unix/tcl.m4: use SHLIB_SUFFIX=".so" on HP-UX ia64 arch.
* unix/configure: autoconf-2.59
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure6
-rw-r--r--unix/tcl.m46
2 files changed, 10 insertions, 2 deletions
diff --git a/unix/configure b/unix/configure
index 36f9740..5cc036e 100755
--- a/unix/configure
+++ b/unix/configure
@@ -6898,7 +6898,11 @@ _ACEOF
LIBS="$LIBS -lxnet" # Use the XOPEN network library
- SHLIB_SUFFIX=".sl"
+ if test "`uname -m`" = "ia64" ; then
+ SHLIB_SUFFIX=".so"
+ else
+ SHLIB_SUFFIX=".sl"
+ fi
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 1a19fce..1ca5af3 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1291,7 +1291,11 @@ dnl AC_CHECK_TOOL(AR, ar)
AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, [Do we want to use the XOPEN network library?])
LIBS="$LIBS -lxnet" # Use the XOPEN network library
- SHLIB_SUFFIX=".sl"
+ if test "`uname -m`" = "ia64" ; then
+ SHLIB_SUFFIX=".so"
+ else
+ SHLIB_SUFFIX=".sl"
+ fi
AC_CHECK_LIB(dld, shl_load, tcl_ok=yes, tcl_ok=no)
if test "$tcl_ok" = yes; then
SHLIB_CFLAGS="+z"