bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ryan Schmidt
Subject: [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP
Date: Thu, 19 Aug 2021 19:39:03 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]