summaryrefslogtreecommitdiff
path: root/m4/evil_windows.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/evil_windows.m4')
-rw-r--r--m4/evil_windows.m411
1 files changed, 5 insertions, 6 deletions
diff --git a/m4/evil_windows.m4 b/m4/evil_windows.m4
index c59e95dfd3..8876d6c629 100644
--- a/m4/evil_windows.m4
+++ b/m4/evil_windows.m4
@@ -12,15 +12,15 @@ AC_DEFUN([EFL_SELECT_WINDOWS_VERSION],
12dnl configure option 12dnl configure option
13 13
14AC_ARG_WITH([windows-version], 14AC_ARG_WITH([windows-version],
15 [AC_HELP_STRING([--with-windows-version], [select the target Windows version (xp, vista or win7) @<:@default=win7@:>@])], 15 [AC_HELP_STRING([--with-windows-version], [select the target Windows version (vista or win7) @<:@default=win7@:>@])],
16 [ 16 [
17 if test "x${with_windows_version}" = "xvista" ; then 17 if test "x${with_windows_version}" = "xvista" ; then
18 _winver="vista" 18 _winver="vista"
19 else 19 else
20 if test "x${with_windows_version}" = "xxp" ; then 20 if test "x${with_windows_version}" = "xwin7" ; then
21 _winver="xp"
22 else
23 _winver="win7" 21 _winver="win7"
22 else
23 _winver="error"
24 fi 24 fi
25 fi 25 fi
26 ], 26 ],
@@ -39,8 +39,7 @@ case "${_winver}" in
39 _efl_windows_version="Windows 7" 39 _efl_windows_version="Windows 7"
40 ;; 40 ;;
41 *) 41 *)
42 EFL_WINDOWS_VERSION_CFLAGS="-D_WIN32_WINNT=0x0501" 42 AC_MSG_ERROR([Wrong Windows version passed to configure. Run ./configure --help])
43 _efl_windows_version="Windows XP"
44 ;; 43 ;;
45esac 44esac
46 45