diff options
author | hobbs <hobbs> | 2002-02-22 19:55:38 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2002-02-22 19:55:38 (GMT) |
commit | cbd55d6cbe01e6ad0331853f0878afad43510d8a (patch) | |
tree | 44b434ed4ed82e6ca4e8764d4899abc9290a748e /unix/tcl.m4 | |
parent | 500f3725690b618dd3947378d069d463ddae2001 (diff) | |
download | tcl-cbd55d6cbe01e6ad0331853f0878afad43510d8a.zip tcl-cbd55d6cbe01e6ad0331853f0878afad43510d8a.tar.gz tcl-cbd55d6cbe01e6ad0331853f0878afad43510d8a.tar.bz2 |
* unix/configure:
* unix/tcl.m4: added --enable-64bit support for AIX-4 (using -q64
flag) when using IBM's xlc compiler.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 63da87b..499fc56 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -694,6 +694,7 @@ dnl AC_CHECK_TOOL(AR, ar, :) LD_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}' fi + # Check to enable 64-bit flags for compiler/linker if test "$do64bit" = "yes" ; then if test "$GCC" = "yes" ; then AC_MSG_WARN("64bit mode not supported with GCC on $system") @@ -747,6 +748,17 @@ dnl AC_CHECK_TOOL(AR, ar, :) MATH_LIBS="$MATH_LIBS -lbsd" AC_DEFINE(USE_DELTA_FOR_TZ) fi + + # Check to enable 64-bit flags for compiler/linker + 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="-q64" + LDFLAGS="-q64" + fi + fi ;; BSD/OS-2.1*|BSD/OS-3*) SHLIB_CFLAGS="" @@ -790,6 +802,8 @@ dnl AC_CHECK_TOOL(AR, ar, :) LDFLAGS="-Wl,-E" LD_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.' fi + + # Check to enable 64-bit flags for compiler/linker if test "$do64bit" = "yes" ; then if test "$GCC" = "yes" ; then AC_MSG_WARN("64bit mode not supported with GCC on $system") @@ -1200,6 +1214,7 @@ dnl AC_CHECK_TOOL(AR, ar, :) SHLIB_LD="/usr/ccs/bin/ld -G -z text" LDFLAGS="" + # Check to enable 64-bit flags for compiler/linker if test "$do64bit" = "yes" ; then arch=`isainfo` if test "$arch" = "sparcv9 sparc" ; then |