diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-21 12:01:37 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-21 15:25:25 +0100 |
commit | 2f87b38e2e6cd6ad5eef03684153ffe1a423277d (patch) | |
tree | e8045227ce372fcac21427184b928c4e4ca002b9 /configure.ac | |
parent | f622232bcf8ebc7398f4c8988711155c22705fd4 (diff) |
Adapt Windows installer for 64 bit
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 973f4398df..d4ca3b1c20 100644 --- a/configure.ac +++ b/configure.ac @@ -193,6 +193,12 @@ case $host in if test "x$CXXFLAGS_overridden" = "xno"; then CXXFLAGS="$CXXFLAGS -w" fi + case $host in + i?86-*) WINDOWS_BITS=32 ;; + x86_64-*) WINDOWS_BITS=64 ;; + *) AC_MSG_ERROR("Could not determine win32/win64 for installer") ;; + esac + AC_SUBST(WINDOWS_BITS) ;; *darwin*) TARGET_OS=darwin |