getopt-gnu: Handle suboptimal getopt_long's abbreviation handling.
authorBruno Haible <bruno@clisp.org>
Sat, 23 Jun 2012 15:08:47 +0000 (17:08 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 23 Jun 2012 15:09:24 +0000 (17:09 +0200)
commitae480d585dfa17a0a4cca3998251b22c069bef44
tree1ecc695f11cd9ab69f37c5bd766efd848ac940ba
parent5f799512d6672e46e0ca5313fd95a420c98473db
getopt-gnu: Handle suboptimal getopt_long's abbreviation handling.

* m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): If getopt_long exists but
does not handle abbreviated long options with equivalent
disambiguations, set gl_replace_getopt to yes.
* doc/posix-functions/getopt.texi: Mention the OpenBSD 5.0 problem.
ChangeLog
doc/posix-functions/getopt.texi
m4/getopt.m4