<[EMAIL PROTECTED]>Sam Steingold writes:
<snip>
>so: how do I turn the warning into a failed compilation?
>(the result: above should be "no", not "yes")

Well, you could pass -Werror to the compiler, if its gcc.
Perhaps you could save CFLAGS, append -Werror, run your test, and then
restore the previous CFLAGS. That might work.

Of course, your test would break with any other compiler. Maybe a case
check: 'if gcc, use -Werror, if compilerX use <Whatever>, etc.'

not a great solution... :|
anyone else have better ideas?

-tom


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

Reply via email to