summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-11-03 01:16:30 (GMT)
committerhobbs <hobbs>2000-11-03 01:16:30 (GMT)
commitdb338d759ce4d489d18b91a0f50f64eacb6ad2e7 (patch)
tree31013f4066a2c6e46b7041898178c3b952241795 /win/tcl.m4
parent5cb9c225d6adb976e155d98048f270b3fabc3f85 (diff)
downloadtk-db338d759ce4d489d18b91a0f50f64eacb6ad2e7.zip
tk-db338d759ce4d489d18b91a0f50f64eacb6ad2e7.tar.gz
tk-db338d759ce4d489d18b91a0f50f64eacb6ad2e7.tar.bz2
* win/tcl.m4:
* win/makefile.vc: updated for Win64 compile support
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index 906e4ff..29e64fc 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -319,6 +319,15 @@ AC_DEFUN(SC_ENABLE_SYMBOLS, [
#--------------------------------------------------------------------
AC_DEFUN(SC_CONFIG_CFLAGS, [
+
+ # Step 0: Enable 64 bit support?
+ # Currently Tk requires no extra flags for 64bit support.
+ # It just needs to find the right compiler, which is up to the user.
+
+ AC_MSG_CHECKING([if 64bit support is requested])
+ AC_ARG_ENABLE(64bit,[ --enable-64bit enable 64bit support (where applicable)], [do64bit=$enableval], [do64bit=no])
+ AC_MSG_RESULT($do64bit)
+
AC_MSG_CHECKING([compiler flags])
# Set some defaults (may get changed below)
@@ -330,6 +339,9 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
# set various compiler flags depending on whether we are using gcc or cl
if test "${GCC}" = "yes" ; then
+ if test "$do64bit" = "yes" ; then
+ AC_MSG_WARN("64bit mode not supported with GCC on Windows")
+ fi
SHLIB_LD=""
SHLIB_LD_LIBS=""
LIBS=""