Opened 12 years ago
Last modified 12 years ago
#1998 closed defect (fixed)
Recent changes to configure have caused a failure to detect architecture on Solaris/OpenIndiana
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | build system |
Version: | unspecified | Severity: | blocker |
Keywords: | Cc: | cehoyos | |
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
On Solaris/OpenIndiana, uname -m gives the output "i86pc". This is no longer recognised by as valid by configure. This is a change in behaviour over the last few months (exact date not determined). The following patch fixes this failure:
Index: configure
===================================================================
--- configure (revision 34277)
+++ configure (working copy)
@@ -1492,7 +1492,7 @@
# host's CPU/instruction set
case "$(uname -m 2>&1)" in
- x86_64|amd64|i[3-9]86*|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) host_arch=i386 ;;
+ x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) host_arch=i386 ;;
ia64) host_arch=ia64 ;;
macppc|ppc*|Power*) host_arch=ppc ;;
alpha) host_arch=alpha ;;
Change History (1)
comment:1 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed, cehoyos@ag.or.at |
Committed as r34278, thank you for the patch.