diff options
author | mdejong <mdejong> | 2002-07-23 17:33:43 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2002-07-23 17:33:43 (GMT) |
commit | f2da3f81ee2ba034359334491059605863e2ba82 (patch) | |
tree | a7708b88d35db69fb56331839643f9bfe88345eb /unix/tcl.m4 | |
parent | bdfafb84af17bc64ae9fe74c9154ab9db405b8ce (diff) | |
download | tk-f2da3f81ee2ba034359334491059605863e2ba82.zip tk-f2da3f81ee2ba034359334491059605863e2ba82.tar.gz tk-f2da3f81ee2ba034359334491059605863e2ba82.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" |