]> 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 09:04:25 +0000 (11:04 +0200)
commit925dc4d438881a1f97f5115cd17e45ecd82f82c8
tree07c9e101aa722769c110a0af28d7463a7787b00b
parentd570f7e41664b8d4e7a83b04ebc9adef9591a64a
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