diff options
Diffstat (limited to 'gdbsupport/common.m4')
-rw-r--r-- | gdbsupport/common.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdbsupport/common.m4 b/gdbsupport/common.m4 index 3909ec8..baee66f 100644 --- a/gdbsupport/common.m4 +++ b/gdbsupport/common.m4 @@ -51,6 +51,8 @@ AC_DEFUN([GDB_AC_COMMON], [ 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]) |