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

Ryan Schmidt <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Follow-up Comment #1, sr #110530 (project autoconf):

I am using dfu-programmer 0.7.2 with the configure script regenerated by
autoconf 2.71 and automake 1.16.3.

I see that AC_FUNC_MEMCMP uses AC_INCLUDES_DEFAULT. I see in the generated
configure script that ac_includes_default (is that the same thing?) contains:


#ifdef HAVE_STRING_H
# include <string.h>
#endif


so I guess HAVE_STRING_H is not defined. Should AC_FUNC_MEMCMP have taken care
of defining it or does dfu-programmer's configure.ac need to be calling
something else first to get that defined?

    _______________________________________________________

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.