+2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
+
+ * lib/getopt_.h: Re-addition of __getopt_argv_const caused
+ redefinition warnings. To avoid them, include the defines
+ in `#if !defined __need_getopt ... #endif'. The only place
+ where __getopt_argv_const is used is in definitions
+ of getopt_long and getopt_long_only below, which are as well
+ protected by `#ifndef __need_getopt'.
+ [defined __GETOPT_PREFIX && !defined __need_getopt]: Undef
+ __need_getopt after including <stdio.h> and <unistd.h> These
+ headers might have defined it.
+
+
2004-11-20 Paul Eggert <eggert@cs.ucla.edu>
* getopt_.h (__GETOPT_CONCAT, __GETOPT_XCONCAT, __GETOPT_ID):
+2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
+
+ * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
+ argp-parse.c depends on getopt internals, that means we should
+ always use our getopt, to be on the safe side.
+ * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
+ order not to spoil the result of an eventual previous invocation
+ of gl_GETOPT_SUBSTITUTE.
+
2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
* calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations