configure: Add ARM64 define.
This commit is contained in:
parent
83846cd131
commit
e80de55bca
|
@ -14994,6 +14994,32 @@ $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
|
||||||
if test $ac_cv_cpp_def___powerpc__ = yes; then :
|
if test $ac_cv_cpp_def___powerpc__ = yes; then :
|
||||||
CFLAGS="$CFLAGS -D__powerpc__"
|
CFLAGS="$CFLAGS -D__powerpc__"
|
||||||
LINTFLAGS="$LINTFLAGS -D__powerpc__"
|
LINTFLAGS="$LINTFLAGS -D__powerpc__"
|
||||||
|
fi ;;
|
||||||
|
*aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
|
||||||
|
$as_echo_n "checking whether we need to define __aarch64__... " >&6; }
|
||||||
|
if ${ac_cv_cpp_def___aarch64__+:} false; then :
|
||||||
|
$as_echo_n "(cached) " >&6
|
||||||
|
else
|
||||||
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
|
/* end confdefs.h. */
|
||||||
|
#ifndef __aarch64__
|
||||||
|
yes
|
||||||
|
#endif
|
||||||
|
_ACEOF
|
||||||
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||||
|
$EGREP "yes" >/dev/null 2>&1; then :
|
||||||
|
ac_cv_cpp_def___aarch64__=yes
|
||||||
|
else
|
||||||
|
ac_cv_cpp_def___aarch64__=no
|
||||||
|
fi
|
||||||
|
rm -f conftest*
|
||||||
|
|
||||||
|
fi
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
|
||||||
|
$as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
|
||||||
|
if test $ac_cv_cpp_def___aarch64__ = yes; then :
|
||||||
|
CFLAGS="$CFLAGS -D__aarch64__"
|
||||||
|
LINTFLAGS="$LINTFLAGS -D__aarch64__"
|
||||||
fi ;;
|
fi ;;
|
||||||
*arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
|
*arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
|
||||||
$as_echo_n "checking whether we need to define __arm__... " >&6; }
|
$as_echo_n "checking whether we need to define __arm__... " >&6; }
|
||||||
|
|
|
@ -2486,6 +2486,7 @@ case $host_cpu in
|
||||||
*sparc*) WINE_CHECK_DEFINE([__sparc__]) ;;
|
*sparc*) WINE_CHECK_DEFINE([__sparc__]) ;;
|
||||||
*powerpc64*) WINE_CHECK_DEFINE([__powerpc64__]) ;;
|
*powerpc64*) WINE_CHECK_DEFINE([__powerpc64__]) ;;
|
||||||
*powerpc*) WINE_CHECK_DEFINE([__powerpc__]) ;;
|
*powerpc*) WINE_CHECK_DEFINE([__powerpc__]) ;;
|
||||||
|
*aarch64*) WINE_CHECK_DEFINE([__aarch64__]) ;;
|
||||||
*arm*) WINE_CHECK_DEFINE([__arm__]) ;;
|
*arm*) WINE_CHECK_DEFINE([__arm__]) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue