diff options
Diffstat (limited to 'gdbsupport/common.m4')
-rw-r--r-- | gdbsupport/common.m4 | 49 |
1 files changed, 38 insertions, 11 deletions
diff --git a/gdbsupport/common.m4 b/gdbsupport/common.m4 index d89c3ae..54290cc 100644 --- a/gdbsupport/common.m4 +++ b/gdbsupport/common.m4 @@ -40,22 +40,49 @@ AC_DEFUN([GDB_AC_COMMON], [ dnl by the users of common.m4. AM_LANGINFO_CODESET - AC_CHECK_HEADERS(linux/perf_event.h locale.h memory.h signal.h dnl - sys/resource.h sys/socket.h dnl - sys/un.h sys/wait.h dnl - thread_db.h wait.h dnl - termios.h dnl - dlfcn.h dnl - linux/elf.h proc_service.h dnl - poll.h sys/poll.h sys/select.h) +AC_CHECK_HEADERS([ \ + dlfcn.h \ + linux/elf.h \ + linux/perf_event.h \ + locale.h \ + memory.h \ + poll.h \ + proc_service.h \ + signal.h \ + sys/poll.h \ + sys/resource.h \ + sys/select.h \ + sys/socket.h \ + sys/un.h \ + sys/wait.h \ + termios.h \ + thread_db.h \ + wait.h \ +]) AC_FUNC_MMAP AC_FUNC_FORK # Some systems (e.g. Solaris) have `socketpair' in libsocket. AC_SEARCH_LIBS(socketpair, socket) - AC_CHECK_FUNCS([fdwalk getrlimit pipe pipe2 poll socketpair sigaction \ - ptrace64 sbrk setns sigaltstack sigprocmask \ - setpgid setpgrp getrusage getauxval sigtimedwait]) + AC_CHECK_FUNCS([ \ + fdwalk \ + getauxval \ + getrlimit \ + getrusage \ + pipe \ + pipe2 \ + poll \ + ptrace64 \ + sbrk \ + setns \ + setpgid \ + setpgrp \ + sigaction \ + sigaltstack \ + sigprocmask \ + sigtimedwait \ + socketpair \ + ]) # This is needed for RHEL 5 and uclibc-ng < 1.0.39. # These did not define ADDR_NO_RANDOMIZE in sys/personality.h, |