CONFIGURE: Allow ppc as alias for powerpc

OpenBSD, for example, uses ppc instead of powerpc.
This commit is contained in:
Donovan Watteau 2016-12-03 16:01:20 +01:00 committed by Thierry Crozat
parent d2ae7fa3fa
commit 77e0297b2a

4
configure vendored
View File

@ -2167,7 +2167,7 @@ cc_check_clean tmp_find_type_with_size.cpp
# for the smaller sizes.
echo_n "Alignment required... "
case $_host_cpu in
i[3-6]86 | amd64 | x86_64 | powerpc*)
i[3-6]86 | amd64 | x86_64 | powerpc* | ppc*)
# Unaligned access should work
_need_memalign=no
;;
@ -2228,7 +2228,7 @@ case $_host_cpu in
echo "MIPS"
append_var DEFINES "-DMIPS_TARGET"
;;
powerpc*)
powerpc* | ppc*)
echo "PowerPC"
append_var DEFINES "-DPPC_TARGET"
;;