diff --git a/configure b/configure index 76c7995c5f6..f573540774b 100755 --- a/configure +++ b/configure @@ -14122,6 +14122,32 @@ $as_echo "$ac_cv_cpp_def___x86_64__" >&6; } if test $ac_cv_cpp_def___x86_64__ = yes; then : CFLAGS="$CFLAGS -D__x86_64__" LINTFLAGS="$LINTFLAGS -D__x86_64__" +fi ;; + *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5 +$as_echo_n "checking whether we need to define __sparc64__... " >&6; } +if ${ac_cv_cpp_def___sparc64__+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __sparc64__ +yes +#endif +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + ac_cv_cpp_def___sparc64__=yes +else + ac_cv_cpp_def___sparc64__=no +fi +rm -f conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5 +$as_echo "$ac_cv_cpp_def___sparc64__" >&6; } +if test $ac_cv_cpp_def___sparc64__ = yes; then : + CFLAGS="$CFLAGS -D__sparc64__" + LINTFLAGS="$LINTFLAGS -D__sparc64__" fi ;; *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5 $as_echo_n "checking whether we need to define __sparc__... " >&6; } @@ -14148,6 +14174,32 @@ $as_echo "$ac_cv_cpp_def___sparc__" >&6; } if test $ac_cv_cpp_def___sparc__ = yes; then : CFLAGS="$CFLAGS -D__sparc__" LINTFLAGS="$LINTFLAGS -D__sparc__" +fi ;; + *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5 +$as_echo_n "checking whether we need to define __powerpc64__... " >&6; } +if ${ac_cv_cpp_def___powerpc64__+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __powerpc64__ +yes +#endif +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + ac_cv_cpp_def___powerpc64__=yes +else + ac_cv_cpp_def___powerpc64__=no +fi +rm -f conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5 +$as_echo "$ac_cv_cpp_def___powerpc64__" >&6; } +if test $ac_cv_cpp_def___powerpc64__ = yes; then : + CFLAGS="$CFLAGS -D__powerpc64__" + LINTFLAGS="$LINTFLAGS -D__powerpc64__" fi ;; *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5 $as_echo_n "checking whether we need to define __powerpc__... " >&6; } diff --git a/configure.ac b/configure.ac index dda16841ba1..d6f5e6a1984 100644 --- a/configure.ac +++ b/configure.ac @@ -2314,7 +2314,9 @@ dnl *** check for the need to define platform-specific symbols case $host_cpu in *i[[3456789]]86*) WINE_CHECK_DEFINE([__i386__]) ;; *x86_64*) WINE_CHECK_DEFINE([__x86_64__]) ;; + *sparc64*) WINE_CHECK_DEFINE([__sparc64__]) ;; *sparc*) WINE_CHECK_DEFINE([__sparc__]) ;; + *powerpc64*) WINE_CHECK_DEFINE([__powerpc64__]) ;; *powerpc*) WINE_CHECK_DEFINE([__powerpc__]) ;; *arm*) WINE_CHECK_DEFINE([__arm__]) ;; esac