]> Savannah Git Hosting - gnulib.git/commit
getopt-posix: port better to Alpine 3.20.0_rc1
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 May 2024 21:55:11 +0000 (14:55 -0700)
committerBruno Haible <bruno@clisp.org>
Wed, 22 May 2024 08:51:13 +0000 (10:51 +0200)
commita26da270a4f997eaa52a7b82aa4ea90011461c9e
treed9d333a1f5bc1bf08931a02718648cbf4a4cd19c
parentb364bd3c4bc85f7befc998eb249e7857d0ba4efb
getopt-posix: port better to Alpine 3.20.0_rc1

Alpine’s <sys/cdefs.h> is a stub that issues a deprecation #warning.
* m4/getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER):
* m4/sched_h.m4 (gl_SCHED_H): Use the new macro
gl_CHECK_HEADER_SYS_CDEFS_H instead of checking independently.
* m4/sys_cdefs_h.m4: New file.
* modules/getopt-posix, modules/sched (Files): Add m4/sys_cdefs_h.m4.
ChangeLog
m4/getopt.m4
m4/sched_h.m4
m4/sys_cdefs_h.m4 [new file with mode: 0644]
modules/getopt-posix
modules/sched