From f28ffed52cd0fd4231adbf9b229a0c1bba1b2e3f Mon Sep 17 00:00:00 2001 From: Brad Date: Wed, 7 Sep 2011 21:24:56 -0400 Subject: [PATCH] configure: Detect predefined compiler symbols for ARM and HPPA To be able to detect some ARM / HPPA based architectures such as with OpenBSD/(armish / zaurus) or OpenBSD/hppa. Signed-off-by: Brad Smith Signed-off-by: Blue Swirl --- configure | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 24b8df4385..59b14947ed 100755 --- a/configure +++ b/configure @@ -284,6 +284,12 @@ elif check_define __s390__ ; then else cpu="s390" fi +elif check_define __ARMEB__ ; then + cpu="armv4b" +elif check_define __ARMEL__ ; then + cpu="armv4l" +elif check_define __hppa__ ; then + cpu="hppa" else cpu=`uname -m` fi @@ -304,7 +310,7 @@ case "$cpu" in armv*l) cpu="armv4l" ;; - parisc|parisc64) + hppa|parisc|parisc64) cpu="hppa" ;; mips*) -- GitLab