diff options
author | mdejong <mdejong> | 2002-07-23 17:33:43 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2002-07-23 17:33:43 (GMT) |
commit | 06f77aa2861ce216890dd5f33ad6da6af13eff19 (patch) | |
tree | a7708b88d35db69fb56331839643f9bfe88345eb /unix/tcl.m4 | |
parent | 8e017c5ed0142cd7866f90ce3f9adc1fd4628268 (diff) | |
download | tk-06f77aa2861ce216890dd5f33ad6da6af13eff19.zip tk-06f77aa2861ce216890dd5f33ad6da6af13eff19.tar.gz tk-06f77aa2861ce216890dd5f33ad6da6af13eff19.tar.bz2 |
* unix/configure: Regen.
* unix/tcl.m4: Update from Tcl.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index c0ea91e..4ede7dc 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -931,6 +931,20 @@ dnl AC_CHECK_TOOL(AR, ar, :) DL_LIBS="" LDFLAGS="" LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + + # 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 by gcc]) + else + do64bit_ok=yes + SHLIB_LD="ld -64 -shared -rdata_shared" + EXTRA_CFLAGS="-64" + LDFLAGS="-64" + fi + fi + ;; Linux*) SHLIB_CFLAGS="-fPIC" |