summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-09-27 01:32:51 (GMT)
committerhobbs <hobbs>2002-09-27 01:32:51 (GMT)
commit375b316b36e6cee767fd9e8a1024bf92b85c2e8d (patch)
tree7e804162266fe6e68d6f3891d83e1e96cbc265d9 /unix/tcl.m4
parent69453809bc2d8e724841cea27b973d20f106f58d (diff)
downloadtk-375b316b36e6cee767fd9e8a1024bf92b85c2e8d.zip
tk-375b316b36e6cee767fd9e8a1024bf92b85c2e8d.tar.gz
tk-375b316b36e6cee767fd9e8a1024bf92b85c2e8d.tar.bz2
* unix/configure: regen.
* unix/tcl.m4: improve AIX-4/5 64bit compilation support.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m412
1 files changed, 10 insertions, 2 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 63748e1..4ad2d1a 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -784,6 +784,10 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
AC_CHECK_LIB(dl, dlopen, have_dl=yes, have_dl=no)
+ # Require ranlib early so we can override it in special cases below.
+
+ AC_REQUIRE([AC_PROG_RANLIB])
+
# Step 3: set configuration options based on system name and version.
do64bit_ok=no
@@ -849,6 +853,9 @@ dnl AC_CHECK_TOOL(AR, ar, :)
do64bit_ok=yes
EXTRA_CFLAGS="-q64"
LDFLAGS="-q64"
+ RANLIB="${RANLIB} -X64"
+ AR="${AR} -X64"
+ SHLIB_LD_FLAGS="-b64"
fi
fi
;;
@@ -906,6 +913,9 @@ dnl AC_CHECK_TOOL(AR, ar, :)
do64bit_ok=yes
EXTRA_CFLAGS="-q64"
LDFLAGS="-q64"
+ RANLIB="${RANLIB} -X64"
+ AR="${AR} -X64"
+ SHLIB_LD_FLAGS="-b64"
fi
fi
;;
@@ -1665,8 +1675,6 @@ dnl AC_CHECK_TOOL(AR, ar, :)
UNSHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a'
fi
- AC_REQUIRE([AC_PROG_RANLIB])
-
if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then
LIB_SUFFIX=${SHARED_LIB_SUFFIX}
MAKE_LIB='${SHLIB_LD} -o [$]@ ${SHLIB_LD_FLAGS} ${OBJS} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS}'