On 7/17/20 10:40 AM, Richard W.M. Jones wrote:
Here's my proposed patch:
From 3907eae3e14087d741b1b1b10b3c42e9cb9b55a3 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones(a)redhat.com>
Date: Fri, 17 Jul 2020 15:36:24 +0100
Subject: [PATCH] configure: Use AC_CHECK_DECLS to check for sys_errlist.
On Fedora 33 (glibc 2.31.9000):
checking for strerrordesc_np... yes
checking whether sys_errlist is declared... no
On RHEL 8 (glibc-2.28):
checking for strerrordesc_np... no
checking whether sys_errlist is declared... yes
On RHEL 7 (glibc-2.17):
checking for strerrordesc_np... no
checking whether sys_errlist is declared... yes
Note that we mustn't use #ifdef when testing HAVE_SYS_ERRLIST. This
is because AC_CHECK_DECLS works differently from the other macros, as
described here:
Do you mind if I clone some of this into here?
https://sourceware.org/glibc/wiki/Release/2.32#Packaging_Changes
The release notes try to collect packaging changes and suggestions
affect downstream.
--
Cheers,
Carlos.