From: Bruno Haible Date: Tue, 21 May 2024 16:31:49 +0000 (+0200) Subject: Fix "'gl_CHECK_HEADER_SYS_CDEFS_H' was expanded before it was required". X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=1707a62b9e69eebd54a1c0bae1bcd989aa574029;p=gnulib.git Fix "'gl_CHECK_HEADER_SYS_CDEFS_H' was expanded before it was required". * m4/sys_cdefs_h.m4 (gl_CHECK_HEADER_SYS_CDEFS_H): Define through AC_DEFUN_ONCE. --- diff --git a/ChangeLog b/ChangeLog index 2a9b847dbd..93ff17d15d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-05-21 Bruno Haible + + Fix "'gl_CHECK_HEADER_SYS_CDEFS_H' was expanded before it was required". + * m4/sys_cdefs_h.m4 (gl_CHECK_HEADER_SYS_CDEFS_H): Define through + AC_DEFUN_ONCE. + 2024-05-21 Bruno Haible access, euidaccess tests: Avoid test failure for root user on Solaris. diff --git a/m4/sys_cdefs_h.m4 b/m4/sys_cdefs_h.m4 index 069146d438..22fa6c3849 100644 --- a/m4/sys_cdefs_h.m4 +++ b/m4/sys_cdefs_h.m4 @@ -1,5 +1,5 @@ # sys_cdefs_h.m4 - Is compatible enough with glibc? -# serial 1 +# serial 2 dnl Copyright 2024 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -7,7 +7,7 @@ dnl with or without modifications, as long as this notice is preserved. dnl Written by Paul Eggert. -AC_DEFUN([gl_CHECK_HEADER_SYS_CDEFS_H], +AC_DEFUN_ONCE([gl_CHECK_HEADER_SYS_CDEFS_H], [AC_CACHE_CHECK([for glibc-compatible sys/cdefs.h], [gl_cv_header_sys_cdefs_h], [AC_COMPILE_IFELSE(