[PATCH v3 10/13] don't check for unistd.h

Tom Tromey tromey@redhat.com
Mon Nov 18 20:46:00 GMT 2013


We don't use the result of checking for unistd.h, so this removes the
check.

2013-11-18  Tom Tromey  <tromey@redhat.com>

	* configure: Rebuild.
	* configure.ac: Don't check for unistd.h.
---
 gdb/ChangeLog    | 5 +++++
 gdb/configure    | 2 +-
 gdb/configure.ac | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gdb/configure b/gdb/configure
index 9739195..23e533d 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -8762,7 +8762,7 @@ for ac_header in nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
 		  sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \
 		  sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \
 		  termios.h termio.h \
-		  sgtty.h unistd.h elf_hp.h \
+		  sgtty.h elf_hp.h \
 		  dlfcn.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 74d56e4..d2b5d29 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1081,7 +1081,7 @@ AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
 		  sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \
 		  sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \
 		  termios.h termio.h \
-		  sgtty.h unistd.h elf_hp.h \
+		  sgtty.h elf_hp.h \
 		  dlfcn.h])
 AC_CHECK_HEADERS(sys/proc.h, [], [],
 [#if HAVE_SYS_PARAM_H
-- 
1.8.1.4



More information about the Gdb-patches mailing list