bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gettext patches for cygwin #2: autoconf warnings, cygwin/getopt


From: Bruno Haible
Subject: Re: gettext patches for cygwin #2: autoconf warnings, cygwin/getopt
Date: Wed, 23 Nov 2005 13:58:06 +0100
User-agent: KMail/1.5

Charles Wilson wrote:
>   Turns out my info is out of date; I'm sorry for the confusion.  Cygwin
> replaced its internal version of getopt with the vanilla BSD version
> (more or less) about 18 months ago.  So, POSIXLY_CORRECT isn't hardcoded
> to 1 at all anymore

I saw that it now uses a BSD getopt. But it doesn't really matter, as
long as the getopt() implementation is POSIX-compliant. The autoconf test
will notice that getopt() works and not use the replacement. That's fine.

> But what of the AH_BOTTOM/AH_TOP
> replacements, to quiet the autoconf deprecation warnings?

Regarding AH_TOP: I don't see warnings for it, except when I use
"autoconf -Wobsolete" or "autoconf -Wall", but with these flags I also
warnings about the use of deprecated macros inside autoconf itself. So
I figure I better shut off these warnings.

Regarding AH_BOTTOM: It's essential that this comes last in the config.h
file, because it includes public system header files. How do you specify
with AH_VERBATIM that a piece of code must be the last one?

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]