summaryrefslogtreecommitdiff
path: root/gdbsupport/common.m4
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-04-13 12:42:59 -0600
committerTom Tromey <tromey@adacore.com>2020-04-13 14:10:03 -0600
commit8ae8e197961644c3621591d0ac5738e7efff64da (patch)
tree9daf39b0a02457b442739d0e24510f9dfcef1c96 /gdbsupport/common.m4
parent58cf28e860429822ab0aa93a56e130c4430df396 (diff)
downloadbinutils-gdb-8ae8e197961644c3621591d0ac5738e7efff64da.tar.gz
Move event-loop configury to common.m4
gdb_select.h and the event loop require some configure checks, so this moves the needed checks to common.m4 and updates the configure scripts. gdb/ChangeLog 2020-04-13 Tom Tromey <tom@tromey.com> * configure: Rebuild. * configure.ac: Remove checks that are now in GDB_AC_COMMON. gdbserver/ChangeLog 2020-04-13 Tom Tromey <tom@tromey.com> * configure: Rebuild. * config.in: Rebuild. gdbsupport/ChangeLog 2020-04-13 Tom Tromey <tom@tromey.com> * config.in, configure: Rebuild. * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h, sys/select.h, and poll.
Diffstat (limited to 'gdbsupport/common.m4')
-rw-r--r--gdbsupport/common.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/gdbsupport/common.m4 b/gdbsupport/common.m4
index e67058632ca..b461f5f017d 100644
--- a/gdbsupport/common.m4
+++ b/gdbsupport/common.m4
@@ -46,11 +46,12 @@ AC_DEFUN([GDB_AC_COMMON], [
thread_db.h wait.h dnl
termios.h dnl
dlfcn.h dnl
- linux/elf.h sys/procfs.h proc_service.h)
+ linux/elf.h sys/procfs.h proc_service.h dnl
+ poll.h sys/poll.h sys/select.h)
AC_FUNC_MMAP
AC_FUNC_VFORK
- AC_CHECK_FUNCS([fdwalk getrlimit pipe pipe2 socketpair sigaction \
+ AC_CHECK_FUNCS([fdwalk getrlimit pipe pipe2 poll socketpair sigaction \
ptrace64 sbrk setns sigaltstack sigprocmask \
setpgid setpgrp getrusage getauxval])