about summary refs log tree commit diff
path: root/sysdeps/powerpc/preconfigure
blob: a0ea745bb45298bd9d4e45f8dd731cab9f1827a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# preconfigure fragment for powerpc.

case "$machine" in
powerpc64le)
  base_machine=powerpc machine=powerpc/powerpc64/le
  ;;
powerpc64*)
  base_machine=powerpc machine=powerpc/powerpc64/be
  ;;
powerpc*)
  base_machine=powerpc machine=powerpc/powerpc32
  with_fp_cond="!defined __NO_FPRS__"
  case "$host_os" in
    *gnuspe*)
      # SPE support was dropped in glibc 2.30.
      # We can't use AC_MSG_ERROR here.
      # The parent script is in the middle of printing the
      # "checking for sysdeps preconfigure fragments" line.
      echo >&2
      echo "Host system type $host is no longer supported." >&2
      exit 1
    ;;
  esac
  ;;
esac