don't check for string.h or strings.h
Now that we are using the gnulib string.h module, we don't need to check for string.h or strings.h. This removes the last few checks from the source and from the configure scripts. 2013-11-18 Tom Tromey <tromey@redhat.com> * configure: Rebuild. * common/common.m4 (GDB_AC_COMMON): Don't check for string.h or strings.h. 2013-11-18 Tom Tromey <tromey@redhat.com> * server.h: Don't check HAVE_STRING_H. * gdbreplay.c: Don't check HAVE_STRING_H. * configure: Rebuild.
This commit is contained in:
parent
0e9f083f4c
commit
a3d08894e5
|
@ -1,3 +1,9 @@
|
|||
2013-11-18 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* configure: Rebuild.
|
||||
* common/common.m4 (GDB_AC_COMMON): Don't check for string.h or
|
||||
strings.h.
|
||||
|
||||
2013-11-18 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* common/gdb_string.h: Remove.
|
||||
|
|
|
@ -27,7 +27,6 @@ AC_DEFUN([GDB_AC_COMMON], [
|
|||
AM_LANGINFO_CODESET
|
||||
|
||||
AC_CHECK_HEADERS(linux/perf_event.h locale.h memory.h signal.h dnl
|
||||
string.h strings.h dnl
|
||||
sys/resource.h sys/socket.h sys/syscall.h dnl
|
||||
sys/un.h sys/wait.h dnl
|
||||
thread_db.h wait.h)
|
||||
|
|
|
@ -10667,7 +10667,7 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
|
|||
fi
|
||||
|
||||
|
||||
for ac_header in linux/perf_event.h locale.h memory.h signal.h string.h strings.h sys/resource.h sys/socket.h sys/syscall.h sys/un.h sys/wait.h thread_db.h wait.h
|
||||
for ac_header in linux/perf_event.h locale.h memory.h signal.h sys/resource.h sys/socket.h sys/syscall.h sys/un.h sys/wait.h thread_db.h wait.h
|
||||
do :
|
||||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
2013-11-18 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* server.h: Don't check HAVE_STRING_H.
|
||||
* gdbreplay.c: Don't check HAVE_STRING_H.
|
||||
* configure: Rebuild.
|
||||
|
||||
2013-11-18 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* Makefile.in (gdbreplay$(EXEEXT)): Depend on and link against
|
||||
|
|
|
@ -5420,7 +5420,7 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
|
|||
fi
|
||||
|
||||
|
||||
for ac_header in linux/perf_event.h locale.h memory.h signal.h string.h strings.h sys/resource.h sys/socket.h sys/syscall.h sys/un.h sys/wait.h thread_db.h wait.h
|
||||
for ac_header in linux/perf_event.h locale.h memory.h signal.h sys/resource.h sys/socket.h sys/syscall.h sys/un.h sys/wait.h thread_db.h wait.h
|
||||
do :
|
||||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
||||
|
|
|
@ -38,9 +38,7 @@
|
|||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#ifdef HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
|
|
|
@ -41,9 +41,7 @@
|
|||
/* For gnulib's PATH_MAX. */
|
||||
#include "pathmax.h"
|
||||
|
||||
#ifdef HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
|
|
Loading…
Reference in New Issue