diff options
author | Tom Tromey <tom@tromey.com> | 2020-04-13 12:42:59 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-04-13 14:10:03 -0600 |
commit | 8ae8e197961644c3621591d0ac5738e7efff64da (patch) | |
tree | 9daf39b0a02457b442739d0e24510f9dfcef1c96 /gdb | |
parent | 58cf28e860429822ab0aa93a56e130c4430df396 (diff) | |
download | fsf-binutils-gdb-8ae8e197961644c3621591d0ac5738e7efff64da.zip fsf-binutils-gdb-8ae8e197961644c3621591d0ac5738e7efff64da.tar.gz fsf-binutils-gdb-8ae8e197961644c3621591d0ac5738e7efff64da.tar.bz2 |
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 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rwxr-xr-x | gdb/configure | 10 | ||||
-rw-r--r-- | gdb/configure.ac | 6 |
3 files changed, 13 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8489fa3..c0ac384 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2020-04-13 Tom Tromey <tom@tromey.com> + * configure: Rebuild. + * configure.ac: Remove checks that are now in GDB_AC_COMMON. + +2020-04-13 Tom Tromey <tom@tromey.com> + * event-loop.h (start_event_loop): Don't declare. * event-loop.c (start_event_loop): Move... * main.c (start_event_loop): ...here. Now static. diff --git a/gdb/configure b/gdb/configure index afafc2c..7e1af58 100755 --- a/gdb/configure +++ b/gdb/configure @@ -11615,11 +11615,11 @@ $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # elf_hp.h is for HP/UX 64-bit shared library support. -for ac_header in nlist.h machine/reg.h poll.h sys/poll.h \ +for ac_header in nlist.h machine/reg.h \ thread_db.h \ sys/file.h sys/filio.h sys/ioctl.h sys/param.h \ sys/resource.h sys/ptrace.h ptrace.h \ - sys/reg.h sys/debugreg.h sys/select.h \ + sys/reg.h sys/debugreg.h \ termios.h elf_hp.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` @@ -12265,7 +12265,7 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h # ------------------------------ # for ac_func in getuid getgid \ - pipe poll pread pread64 pwrite resize_term \ + pipe pread pread64 pwrite resize_term \ getpgid setsid \ sigaction sigsetmask socketpair \ ttrace wborder wresize setlocale iconvlist libiconvlist btowc \ @@ -12778,7 +12778,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 sys/resource.h sys/socket.h sys/un.h sys/wait.h thread_db.h wait.h termios.h dlfcn.h linux/elf.h sys/procfs.h proc_service.h + for ac_header in linux/perf_event.h locale.h memory.h signal.h sys/resource.h sys/socket.h sys/un.h sys/wait.h thread_db.h wait.h termios.h dlfcn.h linux/elf.h sys/procfs.h proc_service.h poll.h sys/poll.h sys/select.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" @@ -13183,7 +13183,7 @@ $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h fi - for ac_func in fdwalk getrlimit pipe pipe2 socketpair sigaction \ + for ac_func in fdwalk getrlimit pipe pipe2 poll socketpair sigaction \ ptrace64 sbrk setns sigaltstack sigprocmask \ setpgid setpgrp getrusage getauxval do : diff --git a/gdb/configure.ac b/gdb/configure.ac index b9dbe13..f405a03 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1229,11 +1229,11 @@ AC_SUBST(SRCHIGH_CFLAGS) AC_HEADER_STDC # elf_hp.h is for HP/UX 64-bit shared library support. -AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h \ +AC_CHECK_HEADERS([nlist.h machine/reg.h \ thread_db.h \ sys/file.h sys/filio.h sys/ioctl.h sys/param.h \ sys/resource.h sys/ptrace.h ptrace.h \ - sys/reg.h sys/debugreg.h sys/select.h \ + sys/reg.h sys/debugreg.h \ termios.h elf_hp.h]) AC_CHECK_HEADERS(sys/user.h, [], [], [#if HAVE_SYS_PARAM_H @@ -1279,7 +1279,7 @@ AC_C_BIGENDIAN # ------------------------------ # AC_CHECK_FUNCS([getuid getgid \ - pipe poll pread pread64 pwrite resize_term \ + pipe pread pread64 pwrite resize_term \ getpgid setsid \ sigaction sigsetmask socketpair \ ttrace wborder wresize setlocale iconvlist libiconvlist btowc \ |