changeset 22707:9d0141651b58

Move setting of TARGET_WIN32 together with other Win32 settings.
author diego
date Sun, 18 Mar 2007 20:21:52 +0000
parents 0dac05acfdc1
children 0d86320521b9
files configure
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Mar 18 20:15:57 2007 +0000
+++ b/configure	Sun Mar 18 20:21:52 2007 +0000
@@ -1292,6 +1292,9 @@
   _exesuf=".exe"
   # -lwinmm is always needed for osdep/timer-win2.c
   _ld_extra="$_ld_extra -lwinmm"
+  _confwin32='TARGET_WIN32 = yes'
+else
+  _confwin32='TARGET_WIN32 = no'
 fi
 
 if mingw32 ; then
@@ -7251,12 +7254,6 @@
   CFLAGS="$CFLAGS -D__CYGWIN__"
 fi
 
-if win32 ; then
-  _confwin32='TARGET_WIN32 = yes'
-else
-  _confwin32='TARGET_WIN32 = no'
-fi
-
 # Dynamic linking flags 
 # (FIXME: 'echocheck "dynamic linking"' above and modify here accordingly)
 _ld_dl_dynamic=''