Revision 270739bb configure

View differences:

configure
677 677
mmi="default"
678 678
bigendian="no"
679 679

  
680
case "$arch" in
681
  i386|i486|i586|i686|i86pc|BePC)
682
    arch="x86_32"
683
  ;;
684
  x86_64|amd64)
685
    arch="x86_32"
686
    canon_arch="`$cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
687
    if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then
688
      if [ -z "`echo $CFLAGS | grep -- -m32`"  ]; then
689
        arch="x86_64"
690
      fi
691
    fi
692
  ;;
693
  # armv4l is a subset of armv[567]*l
694
  arm|armv[4567]*l)
695
    arch="armv4l"
696
  ;;
697
  alpha)
698
    arch="alpha"
699
  ;;
700
  "Power Macintosh"|ppc|ppc64|powerpc)
701
    arch="powerpc"
702
  ;;
703
  mips|mipsel|IP*)
704
    arch="mips"
705
  ;;
706
  sun4u|sparc64)
707
    arch="sparc64"
708
  ;;
709
  sparc)
710
    arch="sparc"
711
  ;;
712
  sh4)
713
    arch="sh4"
714
  ;;
715
  parisc|parisc64)
716
    arch="parisc"
717
  ;;
718
  s390|s390x)
719
    arch="s390"
720
  ;;
721
  m68k)
722
    arch="m68k"
723
  ;;
724
  ia64)
725
    arch="ia64"
726
  ;;
727
  bfin)
728
    arch="bfin"
729
  ;;
730
  *)
731
    arch="unknown"
732
  ;;
733
esac
734

  
735 680
# OS
736 681
targetos=`uname -s`
737 682
beos_netserver="no"
......
936 881
  esac
937 882
done
938 883

  
884
case "$arch" in
885
  i386|i486|i586|i686|i86pc|BePC)
886
    arch="x86_32"
887
  ;;
888
  x86_64|amd64)
889
    arch="x86_32"
890
    canon_arch="`$cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
891
    if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then
892
      if [ -z "`echo $CFLAGS | grep -- -m32`"  ]; then
893
        arch="x86_64"
894
      fi
895
    fi
896
  ;;
897
  # armv4l is a subset of armv[567]*l
898
  arm|armv[4567]*l)
899
    arch="armv4l"
900
  ;;
901
  alpha)
902
    arch="alpha"
903
  ;;
904
  "Power Macintosh"|ppc|ppc64|powerpc)
905
    arch="powerpc"
906
  ;;
907
  mips|mipsel|IP*)
908
    arch="mips"
909
  ;;
910
  sun4u|sparc64)
911
    arch="sparc64"
912
  ;;
913
  sparc)
914
    arch="sparc"
915
  ;;
916
  sh4)
917
    arch="sh4"
918
  ;;
919
  parisc|parisc64)
920
    arch="parisc"
921
  ;;
922
  s390|s390x)
923
    arch="s390"
924
  ;;
925
  m68k)
926
    arch="m68k"
927
  ;;
928
  ia64)
929
    arch="ia64"
930
  ;;
931
  bfin)
932
    arch="bfin"
933
  ;;
934
  *)
935
    arch="unknown"
936
  ;;
937
esac
938

  
939 939
# OS specific
940 940
osextralibs="-lm"
941 941
case $targetos in

Also available in: Unified diff