summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2000-11-03 01:16:30 (GMT)
committerhobbs <hobbs@noemail.net>2000-11-03 01:16:30 (GMT)
commitb7e3a849e7730aac2093b849947c42bedec9f2fb (patch)
tree31013f4066a2c6e46b7041898178c3b952241795 /win/tcl.m4
parent68c57a2cd7de56c6e9acf8ed2f636e8274c607bc (diff)
downloadtk-b7e3a849e7730aac2093b849947c42bedec9f2fb.zip
tk-b7e3a849e7730aac2093b849947c42bedec9f2fb.tar.gz
tk-b7e3a849e7730aac2093b849947c42bedec9f2fb.tar.bz2
* win/tcl.m4:
* win/makefile.vc: updated for Win64 compile support FossilOrigin-Name: cc01c5fcdc0d8ae6f3291f0e321b78caf0c05312
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=""