Follow-up Comment #2, sr #110530 (project autoconf):

1. We currently don't support *any* use of -Werror or -Werror=whatever in
configure scripts.  There are lots and lots of places where autoconf's test
programs trigger warnings, especially with newer compilers. We *want* to fix
all of those eventually but we have *no* developers right now, so "eventually"
might be a very long time.

The recommended way to use -Werror with autotools is with an AC_ARG_ENABLE
construct that *optionally* adds -Werror to a dedicated AC_SUBST variable that
is then added to AM_CFLAGS in Makefile.am (or equivalent if you're not using
automake).

2. That said, HAVE_STRING_H should have been defined automatically.  Could you
please cut down dfu-programmer's configure.ac to the smallest thing you can
manage that still reproduces the issue, and attach that file here?  Please
also make it self-contained -- inline any definitions from aclocal.m4 that are
needed.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110530>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to