diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2012-08-01 14:34:28 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2012-08-01 14:34:28 +0200 |
commit | 84063e90c704b9d03adef99fe62769fb743c1c0c (patch) | |
tree | de919272d3914fda6aeffb72a02ed35f9df9e676 /configure.ac | |
parent | 79c048c00e44013da82b4b2973f31d087b072651 (diff) | |
download | ccache-84063e90c704b9d03adef99fe62769fb743c1c0c.tar.gz |
Require Windows Vista or later for win32 builds
Based on information from Patrick von Reth <patrick.vonreth@gmail.com>.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index aef2b6d5..6cd50ac1 100644 --- a/configure.ac +++ b/configure.ac @@ -7,6 +7,14 @@ AC_MSG_NOTICE([Configuring ccache]) AC_CONFIG_HEADER(config.h) +AC_CANONICAL_HOST + +case $host in + *mingw32* | *cygwin* | *wince* | *mingwce*) + AC_DEFINE(_WIN32_WINNT,0x0600, Windows Vista or newer is required) + ;; +esac + AC_SUBST(extra_deps) AC_SUBST(include_dev_mk) AC_SUBST(test_suites) |