[CONFIGURATION]

* BUG: Detect x86_64 architecture better.


git-svn-id: svn://localhost/gambas/trunk@3169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2010-08-31 09:05:18 +00:00
parent 3fbd60c233
commit 85771d38e3

View File

@ -487,7 +487,7 @@ AC_DEFUN([GB_SYSTEM],
AC_DEFINE(ARCH_X86, 1, [Target architecture is x86]) AC_DEFINE(ARCH_X86, 1, [Target architecture is x86])
AC_DEFINE(ARCHITECTURE, "x86", [Architecture]) AC_DEFINE(ARCHITECTURE, "x86", [Architecture])
;; ;;
x86_64-*-* ) x86_64-*-*-* | amd64-* | ia64-* )
ARCH=X86_64 ARCH=X86_64
AC_DEFINE(ARCH_X86_64, 1, [Target architecture is x86_64]) AC_DEFINE(ARCH_X86_64, 1, [Target architecture is x86_64])
AC_DEFINE(ARCHITECTURE, "x86_64", [Architecture]) AC_DEFINE(ARCHITECTURE, "x86_64", [Architecture])
@ -495,12 +495,12 @@ AC_DEFUN([GB_SYSTEM],
arm*-*-* ) arm*-*-* )
ARCH=ARM ARCH=ARM
AC_DEFINE(ARCH_ARM, 1, [Target architecture is ARM]) AC_DEFINE(ARCH_ARM, 1, [Target architecture is ARM])
AC_DEFINE(ARCHITECTURE, "ARM", [Architecture]) AC_DEFINE(ARCHITECTURE, "arm", [Architecture])
;; ;;
powerpc-*-* ) powerpc-*-* )
ARCH=PPC ARCH=PPC
AC_DEFINE(ARCH_PPC, 1, [Target architecture is PowerPC]) AC_DEFINE(ARCH_PPC, 1, [Target architecture is PowerPC])
AC_DEFINE(ARCHITECTURE, "PowerPC", [Architecture]) AC_DEFINE(ARCHITECTURE, "powerpc", [Architecture])
;; ;;
*) *)
ARCH=UNKNOWN ARCH=UNKNOWN