[sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP

Zack Weinberg <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.