On 09/19/2012 03:33 PM, Adrian Bunk wrote:
> IMHO the best solution for both package maintainers and people compiling 
> software would be:
> - AC_PROG_CC always filters out -Werror

Always filtering seems a bit too strong - I think that filtering -Werror
requires at least some request from the configure.ac writer that
filtering -Werror is intended.

> - when -Werror was filtered out, configure prints a message like
>   "filtering out -Werror during configure"
> - when -Werror was filtered out, AC_OUTPUT re-adds it

Indeed, this is what I would do if the filtering were done.

But maybe I can be convinced that always filtering -Werror from
user-input CFLAGS for the duration of configure makes sense, and agree
with changing AC_PROG_CC to do this automatically instead of requiring
configure.ac consent to the filtering.

At this point, patches would speak louder than words (that goes for me,
as well, since I sparked the debate without any proposed patch).

-- 
Eric Blake   [email protected]    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to