changeset 34190:e491bbbddf5d

Fix compilation on Solaris/OpenIndiana where 'uname -m' outputs "i86pc". This fixes a regression since r33887 and bug 1998. Patch by Granville Moore, gvm nemesys com
author cehoyos
date Sun, 30 Oct 2011 17:40:22 +0000
parents 4b5f57ccfff1
children 47e1375c4d79
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Oct 29 16:51:26 2011 +0000
+++ b/configure	Sun Oct 30 17:40:22 2011 +0000
@@ -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 ;;