From 85771d38e34cb1226791b1fbaaeaba1e8df7ae86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Tue, 31 Aug 2010 09:05:18 +0000 Subject: [PATCH] [CONFIGURATION] * BUG: Detect x86_64 architecture better. git-svn-id: svn://localhost/gambas/trunk@3169 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- acinclude.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 576766787..e16eb6432 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -487,7 +487,7 @@ AC_DEFUN([GB_SYSTEM], AC_DEFINE(ARCH_X86, 1, [Target architecture is x86]) AC_DEFINE(ARCHITECTURE, "x86", [Architecture]) ;; - x86_64-*-* ) + x86_64-*-*-* | amd64-* | ia64-* ) ARCH=X86_64 AC_DEFINE(ARCH_X86_64, 1, [Target architecture is x86_64]) AC_DEFINE(ARCHITECTURE, "x86_64", [Architecture]) @@ -495,12 +495,12 @@ AC_DEFUN([GB_SYSTEM], arm*-*-* ) ARCH=ARM AC_DEFINE(ARCH_ARM, 1, [Target architecture is ARM]) - AC_DEFINE(ARCHITECTURE, "ARM", [Architecture]) + AC_DEFINE(ARCHITECTURE, "arm", [Architecture]) ;; powerpc-*-* ) ARCH=PPC AC_DEFINE(ARCH_PPC, 1, [Target architecture is PowerPC]) - AC_DEFINE(ARCHITECTURE, "PowerPC", [Architecture]) + AC_DEFINE(ARCHITECTURE, "powerpc", [Architecture]) ;; *) ARCH=UNKNOWN