Branch: Tag:

2016-02-11

2016-02-11 22:49:38 by Martin Nilsson <nilsson@fastmail.com>

More readable macros.

5322:    AC_CACHE_VAL(pike_cv_machine_code_arch, [    pike_cv_machine_code_arch=unknown    AC_TRY_COMPILE([ - #if defined(__GNUC__) + #ifdef __GNUC__   #if !defined(__i386__) && !defined(__i386)   #error Not ia32 architecture   #endif
5337:    pike_cv_machine_code_arch=ia32    ], [])    AC_TRY_COMPILE([ - #if defined(__GNUC__) + #ifdef __GNUC__   #if !defined(__x86_64__) && !defined(__x86_64) && !defined(__amd64) && !defined(__amd64__)   #error Not amd64 architecture   #endif
5353:    pike_cv_machine_code_arch=amd64    ], [])    AC_TRY_COMPILE([ - #if defined(__GNUC__) + #ifdef __GNUC__   #if !defined(sparc) && !defined(__sparc__) && !defined(__sparc)   #error Not sparc architecture   #endif
5364:    pike_cv_machine_code_arch=sparc    ], [])    AC_TRY_COMPILE([ - #if defined(__GNUC__) + #ifdef __GNUC__   #if !defined(__ppc__) && !defined(__powerpc__) && !defined(_POWER)   #error Not ppc32 architecture   #endif
5375:    pike_cv_machine_code_arch=ppc32    ], [])    AC_TRY_COMPILE([ - #if defined(__GNUC__) + #ifdef __GNUC__   #if !defined(__PPC64__) && !defined(__powerpc64__)   #error Not ppc64 architecture   #endif