getopt, argp: Respect rules for use of AC_LIBOBJ.
authorBruno Haible <bruno@clisp.org>
Sun, 8 May 2011 11:00:10 +0000 (13:00 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:06 +0000 (00:06 +0200)
commit633556d650a5ea282f2515f3b6b13780eeef8792
tree4fbc73aca5a2acc1128aa428bf556798a467d4a3
parent4a0e634c15e56c346f71b98082ab9d8c11c46b2a
getopt, argp: Respect rules for use of AC_LIBOBJ.

* m4/argp.m4 (gl_ARGP): Don't invoke gl_REPLACE_GETOPT.
(gl_REPLACE_GETOPT_ALWAYS): New macro.
* m4/getopt.m4 (gl_FUNC_GETOPT_POSIX): Test whether
gl_REPLACE_GETOPT_ALWAYS is defined. Set REPLACE_GETOPT.
ChangeLog
m4/argp.m4
m4/getopt.m4