Re: problem with ./configure

Zack Weinberg <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <[email protected]>
On 2013-09-12 11:25 AM, Eric Blake wrote:
>
> -for ac_option in --version -v -V -qversion; do
> +for ac_option in --version -v -V -qversion -version; do
>     _AC_DO_LIMIT([$ac_compiler $ac_option >&AS_MESSAGE_LOG_FD])

This isn't anything to do with your change, but -qversion should be 
moved to the second position in this list, because the AIX compiler's 
response to any unrecognized command-line option is to dump its _entire 
manpage_ to stdout, which is IIRC about 10,000 lines of text.  I see 
that _AC_DO_LIMIT clips to ten lines by default, so we're not gonna get 
a ridiculous amount of junk in config.log, but it would still be more 
efficient to have it closer to the beginning (I only suggest we put it 
second because it's far more likely that the user actually has a 
compiler that understands --version).

zw
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.