提交 f28ffed5 编写于 作者: B Brad 提交者: Blue Swirl

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: NBrad Smith <brad@comstyle.com>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 7f6f0ae5
...@@ -284,6 +284,12 @@ elif check_define __s390__ ; then ...@@ -284,6 +284,12 @@ elif check_define __s390__ ; then
else else
cpu="s390" cpu="s390"
fi fi
elif check_define __ARMEB__ ; then
cpu="armv4b"
elif check_define __ARMEL__ ; then
cpu="armv4l"
elif check_define __hppa__ ; then
cpu="hppa"
else else
cpu=`uname -m` cpu=`uname -m`
fi fi
...@@ -304,7 +310,7 @@ case "$cpu" in ...@@ -304,7 +310,7 @@ case "$cpu" in
armv*l) armv*l)
cpu="armv4l" cpu="armv4l"
;; ;;
parisc|parisc64) hppa|parisc|parisc64)
cpu="hppa" cpu="hppa"
;; ;;
mips*) mips*)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册