From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20130 invoked by alias); 18 Nov 2013 21:12:05 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 20109 invoked by uid 89); 18 Nov 2013 21:12:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 18 Nov 2013 21:12:02 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rAIKPUNk031931 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 18 Nov 2013 15:25:30 -0500 Received: from barimba.redhat.com (ovpn-113-124.phx2.redhat.com [10.3.113.124]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id rAIKPMrE028755; Mon, 18 Nov 2013 15:25:30 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH v3 05/13] don't check for string.h or strings.h Date: Mon, 18 Nov 2013 21:28:00 -0000 Message-Id: <1384806318-12231-6-git-send-email-tromey@redhat.com> In-Reply-To: <1384806318-12231-1-git-send-email-tromey@redhat.com> References: <1384806318-12231-1-git-send-email-tromey@redhat.com> X-SW-Source: 2013-11/txt/msg00502.txt.bz2 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 * configure: Rebuild. * common/common.m4 (GDB_AC_COMMON): Don't check for string.h or strings.h. 2013-11-18 Tom Tromey * server.h: Don't check HAVE_STRING_H. * gdbreplay.c: Don't check HAVE_STRING_H. * configure: Rebuild. --- gdb/ChangeLog | 6 ++++++ gdb/common/common.m4 | 1 - gdb/configure | 2 +- gdb/gdbserver/ChangeLog | 6 ++++++ gdb/gdbserver/configure | 2 +- gdb/gdbserver/gdbreplay.c | 2 -- gdb/gdbserver/server.h | 2 -- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/gdb/common/common.m4 b/gdb/common/common.m4 index 20fbb44..b1abc4d 100644 --- a/gdb/common/common.m4 +++ b/gdb/common/common.m4 @@ -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) diff --git a/gdb/configure b/gdb/configure index 8b20a13..ae24ca5 100755 --- a/gdb/configure +++ b/gdb/configure @@ -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" diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 6bef97c..096c7b3 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -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" diff --git a/gdb/gdbserver/gdbreplay.c b/gdb/gdbserver/gdbreplay.c index 5e64f6d..1f823e0 100644 --- a/gdb/gdbserver/gdbreplay.c +++ b/gdb/gdbserver/gdbreplay.c @@ -38,9 +38,7 @@ #ifdef HAVE_STDLIB_H #include #endif -#ifdef HAVE_STRING_H #include -#endif #include #ifdef HAVE_NETINET_IN_H #include diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index 05724e0..32cf416 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -41,9 +41,7 @@ /* For gnulib's PATH_MAX. */ #include "pathmax.h" -#ifdef HAVE_STRING_H #include -#endif #ifdef HAVE_ALLOCA_H #include -- 1.8.1.4