aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBrad <brad@comstyle.com>2011-09-07 21:24:56 -0400
committerBlue Swirl <blauwirbel@gmail.com>2011-10-01 06:13:04 +0000
commitf28ffed52cd0fd4231adbf9b229a0c1bba1b2e3f (patch)
tree323b2cf5c2d0560c922faae7cf4e930cc26cd3eb /configure
parent7f6f0ae5b95adfa76e10eabe2c34424a955fd10c (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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
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*)