diff options
author | dgp <dgp@users.sourceforge.net> | 2011-06-20 20:17:38 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-06-20 20:17:38 (GMT) |
commit | 5568794429b9438e67e397fca6a9413d58ea19b8 (patch) | |
tree | 9cc746e9ef99701cd2e7d9ab367ed237e6384cae /win/configure | |
parent | 4348b1d1a803b524fd852a46fddaf6572f546827 (diff) | |
parent | 1fe70fb2d6b530dd2c12c5e5eb5e8d7bac9ec4b2 (diff) | |
download | tk-5568794429b9438e67e397fca6a9413d58ea19b8.zip tk-5568794429b9438e67e397fca6a9413d58ea19b8.tar.gz tk-5568794429b9438e67e397fca6a9413d58ea19b8.tar.bz2 |
merge to RC
Diffstat (limited to 'win/configure')
-rwxr-xr-x | win/configure | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/win/configure b/win/configure index 5911b66..b3a6294 100755 --- a/win/configure +++ b/win/configure @@ -3512,6 +3512,64 @@ echo "${ECHO_T} Using 64-bit $MACHINE mode" >&6 echo "$as_me:$LINENO: result: Using 64-bit $MACHINE mode" >&5 echo "${ECHO_T} Using 64-bit $MACHINE mode" >&6 ;; + *) + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + #ifdef _WIN64 + #error 64-bit + #endif + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + tcl_win_64bit=no +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +tcl_win_64bit=yes + +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + if test "$tcl_win_64bit" = "yes" ; then + do64bit=amd64 + MACHINE="AMD64" + echo "$as_me:$LINENO: result: Using 64-bit $MACHINE mode" >&5 +echo "${ECHO_T} Using 64-bit $MACHINE mode" >&6 + fi + ;; esac else if test "${SHARED_BUILD}" = "0" ; then |