configure: recognise host starting in 'amd64'.

David Naylor naylor.b.david at gmail.com
Tue Jan 20 09:58:50 CST 2015


FreeBSD uses amd64 to identify a CPU architecture based on AMD's 64-bit
instruction set.
---
 configure    | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 7c2a944..3c32ef3 100755
--- a/configure
+++ b/configure
@@ -4719,7 +4719,7 @@ case $host in
     fi
     with_fontconfig=${with_fontconfig:-no}
     ;;
-  x86_64*)
+  x86_64*|amd64*)
     if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
     then
       CC="$CC -m32"
diff --git a/configure.ac b/configure.ac
index c913f9f..ad6d02b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,7 +140,7 @@ case $host in
     fi
     with_fontconfig=${with_fontconfig:-no}
     ;;
-  x86_64*)
+  x86_64*|amd64*)
     if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
     then
       CC="$CC -m32"
-- 
2.2.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part.
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150120/afac77d9/attachment.sig>


More information about the wine-patches mailing list