From: Sergey Poznyakoff Date: Tue, 23 Nov 2004 02:50:02 +0000 (+0000) Subject: Updated X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2119b9a0051c83a0d08858f5c91a8d9104c0dcf6;p=pspp Updated --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 752465e21d..93d905a970 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,16 @@ +2004-11-23 Sergey Poznyakoff + + * 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 and These + headers might have defined it. + + 2004-11-20 Paul Eggert * getopt_.h (__GETOPT_CONCAT, __GETOPT_XCONCAT, __GETOPT_ID): diff --git a/m4/ChangeLog b/m4/ChangeLog index 78b0f428ac..498e3e1d6c 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,12 @@ +2004-11-23 Sergey Poznyakoff + + * 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 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations