diff options
author | Brad <brad@comstyle.com> | 2011-09-07 21:24:56 -0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-10-01 06:13:04 +0000 |
commit | f28ffed52cd0fd4231adbf9b229a0c1bba1b2e3f (patch) | |
tree | 323b2cf5c2d0560c922faae7cf4e930cc26cd3eb | |
parent | 7f6f0ae5b95adfa76e10eabe2c34424a955fd10c (diff) |
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 <brad@comstyle.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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*) |