|
From: | Charles Wilson |
Subject: | Re: gettext patches for cygwin #2: autoconf warnings, cygwin/getopt |
Date: | Thu, 24 Nov 2005 11:26:42 -0500 |
User-agent: | Thunderbird 1.5 (Windows/20051025) |
Bruno Haible wrote:
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.
Ack.
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.
Ah, ok. I reckon that goes for autoheader, too?
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?
Never mind. I misinterpreted the docs. AH_BOTTOM and AH_TOP are not deprecated along with acconfig.h, config.h.top, and config.h.bottom. Rather, AH_BOTTOM and AH_TOP (along with AH_TEMPLATE and AH_VERBATIM) are the "new" macros now preferred over those deprecated files.
Looks like this patch goes to the trash-heap too. :-) -- Chuck
[Prev in Thread] | Current Thread | [Next in Thread] |