configure: Detect predefined compiler symbols for ARM and HPPA
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 <[email protected]>
--- configure | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
configure +7 -1
@@ -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*)
Signature · 1 line
1.7.6
Quoted 6 lines · Brad
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<[email protected]>
ping.
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Blue Swirl
AppliedThanks, applied.
Quoted 42 lines · Brad
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 <[email protected]>---
configure | 8 +++++++-1 files changed, 7 insertions(+), 1 deletions(-)configure +0
-0@@ -284,6 +284,12 @@ elif check_define __s390__ ; thenelse
cpu="s390"
ficonfigure +6
-0+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
ficonfigure +0
-0@@ -304,7 +310,7 @@ case "$cpu" in armv*l)cpu="armv4l"
;;
- parisc|parisc64)
+ hppa|parisc|parisc64)
cpu="hppa"
;;
mips*)
--
1.7.6