https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86090
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Patches should be posted to gcc-patches mailing list. You could as well add the lstat and readlink to the same AC_CHECK_FUNCS as the other functions, no need for two AC_CHECK_FUNCS. LGTM otherwise.