The header string.h is always present since we are compiling with standard C.
There is no need for this check, since it will always evaluate to true.
In addition to this, most includes of string.h to not use this check.
hdr stdbool
hdr stddef
hdr stdint
-hdr string
hdr strings
hdr termios
hdr unistd
# AC_HEADER_STDC
AC_CHECK_HEADERS(stdarg.h stddef.h stddef.h stdint.h malloc.h \
fcntl.h search.h pthread.h values.h float.h limits.h termios.h \
- errno.h time.h unistd.h fenv.h string.h strings.h inttypes.h setjmp.h \
+ errno.h time.h unistd.h fenv.h strings.h inttypes.h setjmp.h \
sys/time.h sys/times.h sys/types.h sys/select.h fpu_control.h \
sys/fpu.h sys/socket.h sys/stat.h sys/mman.h \
sys/ioctl.h sys/inotify.h langinfo.h libintl.h crt_externs.h)
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
-#ifdef HAVE_STRING_H
#include <string.h>
-#endif
#include <inttypes.h>
#include "config.h"
#include <stdlib.h>
-#ifdef HAVE_STRING_H
#include <string.h>
-#endif
#include "const.h"
#include "gvplugin_render.h"
/* Define to 1 if you have the <strings.h> header file. */
//#define HAVE_STRINGS_H 1
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
/* Define to 1 if you have the `strncasecmp' function. */
//#define HAVE_STRNCASECMP 1