Revision ea8f20f8 configure

b/configure
76 76
  ;;
77 77
  esac
78 78
done
79

  
80 79
# OS specific
81 80
# Using uname is really, really broken.  Once we have the right set of checks
82 81
# we can eliminate it's usage altogether
......
135 134

  
136 135
target_list=""
137 136
case "$cpu" in
137
  alpha|cris|ia64|m68k|microblaze|mips|mips64|ppc|ppc64|sparc64)
138
    cpu="$cpu"
139
  ;;
138 140
  i386|i486|i586|i686|i86pc|BePC)
139 141
    cpu="i386"
140 142
  ;;
141 143
  x86_64|amd64)
142 144
    cpu="x86_64"
143 145
  ;;
144
  alpha)
145
    cpu="alpha"
146
  ;;
147 146
  armv*b)
148 147
    cpu="armv4b"
149 148
  ;;
150 149
  armv*l)
151 150
    cpu="armv4l"
152 151
  ;;
153
  cris)
154
    cpu="cris"
155
  ;;
156 152
  parisc|parisc64)
157 153
    cpu="hppa"
158 154
  ;;
159
  ia64)
160
    cpu="ia64"
161
  ;;
162
  m68k)
163
    cpu="m68k"
164
  ;;
165
  microblaze)
166
    cpu="microblaze"
167
  ;;
168
  mips)
169
    cpu="mips"
170
  ;;
171
  mips64)
172
    cpu="mips64"
173
  ;;
174
  ppc)
175
    cpu="ppc"
176
  ;;
177
  ppc64)
178
    cpu="ppc64"
179
  ;;
180 155
  s390*)
181 156
    cpu="s390"
182 157
  ;;
183 158
  sparc|sun4[cdmuv])
184 159
    cpu="sparc"
185 160
  ;;
186
  sparc64)
187
    cpu="sparc64"
188
  ;;
189 161
  *)
190 162
    cpu="unknown"
191 163
  ;;
......
787 759
else
788 760

  
789 761
# if cross compiling, cannot launch a program, so make a static guess
790
if test "$cpu" = "armv4b" \
791
     -o "$cpu" = "hppa" \
792
     -o "$cpu" = "m68k" \
793
     -o "$cpu" = "mips" \
794
     -o "$cpu" = "mips64" \
795
     -o "$cpu" = "ppc" \
796
     -o "$cpu" = "ppc64" \
797
     -o "$cpu" = "s390" \
798
     -o "$cpu" = "sparc" \
799
     -o "$cpu" = "sparc64"; then
800
    bigendian="yes"
801
fi
762
case "$cpu" in
763
  armv4b|hppa|m68k|mips|mips64|ppc|ppc64|s390|sparc|sparc64)
764
    bigendian=yes
765
  ;;
766
esac
802 767

  
803 768
fi
804 769

  
805 770
# host long bits test
806 771
hostlongbits="32"
807
if test "$cpu" = "x86_64" \
808
     -o "$cpu" = "alpha" \
809
     -o "$cpu" = "ia64" \
810
     -o "$cpu" = "sparc64" \
811
     -o "$cpu" = "ppc64"; then
812
    hostlongbits="64"
813
fi
772
case "$cpu" in
773
  x86_64|alpha|ia64|sparc64|ppc64)
774
    hostlongbits=64
775
  ;;
776
esac
814 777

  
815 778
# Check host NPTL support
816 779
cat > $TMPC <<EOF

Also available in: Unified diff