]> Savannah Git Hosting - gnulib.git/commit
getopt-posix: Fix compilation failure in testdirs.
authorBruno Haible <bruno@clisp.org>
Fri, 3 Jan 2020 13:27:29 +0000 (14:27 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 3 Jan 2020 13:27:29 +0000 (14:27 +0100)
commitd059bd2b1bc4d3ec09eabb238f9eb28c7a2fddff
tree56866c0f329cda1f5e5f197bfd6b642b25681b4a
parent5f62ea4ee2c43383411f895cd323e3c67db8eca7
getopt-posix: Fix compilation failure in testdirs.

* lib/unistd.in.h: Include <getopt-cdefs.h> and <getopt-pfx-core.h> only
when the gnulib module 'getopt-posix' is enabled.
* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_GETOPT_POSIX.
* modules/getopt-posix (configure.ac): Set GNULIB_GETOPT_POSIX as a
module indicator.
* modules/unistd (Makefile.am): Substitute GNULIB_GETOPT_POSIX.
ChangeLog
lib/unistd.in.h
m4/unistd_h.m4
modules/getopt-posix
modules/unistd