autoconf-patches
[Top][All Lists]
Advanced

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

Re: problem with ./configure


From: Zack Weinberg
Subject: Re: problem with ./configure
Date: Thu, 12 Sep 2013 12:05:26 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

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



reply via email to

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