Ben Pfaff <[EMAIL PROTECTED]> writes:

> AC_COMPILE_IFELSE generates a test that only checks the exit status
> of the compiler command. But this is not sufficient:

My own feeling is that if the compiler exits with a nonzero status
and produces working object code, then it succeeded, regardless of
what diagnostics it produced.

Hmm, are you using #error to detect whether some preprocessor problem
exists?  If so, then you should redo your test programs so that they
look something like this instead.  That should fix the problem.

#ifdef FOO
error: "FOO" was defined.
#endif


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to