Re: problem with ./configure

2013-09-12 Thread Eric Blake
On 07/19/2013 07:03 AM, Eric Blake wrote: On 07/19/2013 06:55 AM, BOUQUE Anais wrote: Hello, I use autoreconf and configure, and I have a problem using configure : I use the cl6x compiler, (./configure --host=c6x CC=cl6x) but when configure does cl6x -version or cl6x-v or cl6x -V

Re: problem with ./configure

2013-09-12 Thread Zack Weinberg
On 2013-09-12 12:13 PM, Eric Blake wrote: That could help if we had a 'break' statement to abort the loop once we think a version had been scraped; but right now, the full loop is executed to completion regardless of what option(s) the compiler understands (and in the case of gcc, executing

Re: problem with ./configure

2013-09-12 Thread Eric Blake
On 09/12/2013 10:05 AM, Zack Weinberg wrote: 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

Re: problem with ./configure

2013-09-12 Thread Zack Weinberg
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