configure: Get rid of the check for strings.h.

This commit is contained in:
Alexandre Julliard 2013-01-09 12:25:14 +01:00
parent 61768c0775
commit af59e6f1b7
4 changed files with 2 additions and 23 deletions

1
configure vendored
View File

@ -5896,7 +5896,6 @@ for ac_header in \
scsi/sg.h \
stdbool.h \
stdint.h \
strings.h \
stropts.h \
sys/asoundlib.h \
sys/attr.h \

View File

@ -483,7 +483,6 @@ AC_CHECK_HEADERS(\
scsi/sg.h \
stdbool.h \
stdint.h \
strings.h \
stropts.h \
sys/asoundlib.h \
sys/attr.h \

View File

@ -27,9 +27,6 @@
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif

View File

@ -203,21 +203,7 @@ static enum
/* Value of POSIXLY_CORRECT environment variable. */
static char *posixly_correct;
#ifdef __GNU_LIBRARY__
/* We want to avoid inclusion of string.h with non-GNU libraries
because there are many ways it can cause trouble.
On some systems, it contains special magic macros that don't work
in GCC. */
#include <string.h>
# define my_index strchr
#else
# ifdef HAVE_STRING_H
# include <string.h>
# else
# include <strings.h>
# endif
#define my_index strchr
/* If using GCC, we can safely declare strlen this way.
@ -232,8 +218,6 @@ extern int strlen (const char *);
# endif /* not __STDC__ */
#endif /* __GNUC__ */
#endif /* not __GNU_LIBRARY__ */
/* Handle permutation of arguments. */
/* Describe the part of ARGV that contains non-options that have