Add PowerPC processor detection.
This commit is contained in:
parent
4aaa257086
commit
b64b7deb8e
|
@ -16247,6 +16247,38 @@ echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
|
||||||
if test $ac_cv_cpp_def___sparc__ = yes; then
|
if test $ac_cv_cpp_def___sparc__ = yes; then
|
||||||
CFLAGS="$CFLAGS -D__sparc__"
|
CFLAGS="$CFLAGS -D__sparc__"
|
||||||
LINTFLAGS="$LINTFLAGS -D__sparc__"
|
LINTFLAGS="$LINTFLAGS -D__sparc__"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
|
||||||
|
echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
|
||||||
|
if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
#line $LINENO "configure"
|
||||||
|
/* confdefs.h. */
|
||||||
|
_ACEOF
|
||||||
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
|
/* end confdefs.h. */
|
||||||
|
#ifndef __powerpc__
|
||||||
|
yes
|
||||||
|
#endif
|
||||||
|
_ACEOF
|
||||||
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||||
|
$EGREP "yes" >/dev/null 2>&1; then
|
||||||
|
ac_cv_cpp_def___powerpc__=yes
|
||||||
|
else
|
||||||
|
ac_cv_cpp_def___powerpc__=no
|
||||||
|
fi
|
||||||
|
rm -f conftest*
|
||||||
|
|
||||||
|
fi
|
||||||
|
echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
|
||||||
|
echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
|
||||||
|
if test $ac_cv_cpp_def___powerpc__ = yes; then
|
||||||
|
CFLAGS="$CFLAGS -D__powerpc__"
|
||||||
|
LINTFLAGS="$LINTFLAGS -D__powerpc__"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1314,6 +1314,7 @@ case $host_cpu in
|
||||||
*i[[3456789]]86*) WINE_CHECK_DEFINE([__i386__]) ;;
|
*i[[3456789]]86*) WINE_CHECK_DEFINE([__i386__]) ;;
|
||||||
*alpha*) WINE_CHECK_DEFINE([__ALPHA__]) ;;
|
*alpha*) WINE_CHECK_DEFINE([__ALPHA__]) ;;
|
||||||
*sparc*) WINE_CHECK_DEFINE([__sparc__]) ;;
|
*sparc*) WINE_CHECK_DEFINE([__sparc__]) ;;
|
||||||
|
*powerpc*) WINE_CHECK_DEFINE([__powerpc__]) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case $host_vendor in
|
case $host_vendor in
|
||||||
|
|
Loading…
Reference in New Issue