Move gdb_notifier comment
[deliverable/binutils-gdb.git] / gdbsupport / common.m4
index 68a354551a2ba6cad76bfabeb217a3d798aff309..b461f5f017d0315a0a3addb6413b18ce2c5429f1 100644 (file)
@@ -18,6 +18,9 @@ dnl along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 dnl Invoke configury needed by the files in 'common'.
 AC_DEFUN([GDB_AC_COMMON], [
+  # Set the 'development' global.
+  . $srcdir/../bfd/development.sh
+
   AC_HEADER_STDC
   AC_FUNC_ALLOCA
 
@@ -43,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])
 
This page took 0.023253 seconds and 4 git commands to generate.