aarch64: fix SVE ACLE check for bootstrap glibc builds
commit1a62d7e5c396aa755f10d283dc3a6bc0eb496be4
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 4 May 2023 08:48:03 +0000 (4 09:48 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 4 May 2023 09:19:11 +0000 (4 10:19 +0100)
tree48a65dee613e452c09e9114030c36157c342f9f0
parentcd94326a1326c4e3f1ee7a8d0a161cc0bdcaf07e
aarch64: fix SVE ACLE check for bootstrap glibc builds

arm_sve.h depends on stdint.h but that relies on libc headers unless
compiled in freestanding mode.  Without this change a bootstrap glibc
build (that uses a compiler without installed libc headers) failed with

checking for availability of SVE ACLE... In file included from [...]/arm_sve.h:28,
                 from conftest.c:1:
[...]/stdint.h:9:16: fatal error: stdint.h: No such file or directory
    9 | # include_next <stdint.h>
      |                ^~~~~~~~~~
compilation terminated.
configure: error: mathvec is enabled but compiler does not have SVE ACLE. [...]
sysdeps/aarch64/configure
sysdeps/aarch64/configure.ac