Re: What is "ac_nonexistent.h"?

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

 



On Mon, Mar 7, 2011 at 2:10 PM, Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> wrote:
> Hello, and sorry for any name mangling,
>
> * Eric Blake wrote on Mon, Mar 07, 2011 at 03:44:59PM CET:
>> On 03/07/2011 04:42 AM, СоУВУВ wrote:
>> > "error: ac_nonexistent.h, no such file or directory."
>> > ...
>> > "Compilation terminated."
>> > Fortunately that is the only error which appeared several times in the config.log file.
>>
>> That's a _good_ thing.  We _expect_ that compilation error, to prove
>> that we are correctly detecting how your compiler detects and rejects
>> broken source code that refers to a non-existent header (knowing how the
>> compiler detects missing headers is essential for later tests of
>> AC_CHECK_HEADERS to see which headers are present).
>>
>> Not all failed compilations are bugs.
>
> Maybe AC_*_IFELSE should allow to denote the expected outcome, in
> order to put only the unexpected outcome verbosely in config.log.

That would be a very welcome change

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux