On illumos, the socketpair()
function is in the socket library, and not in libc.
This change modifies the autoconf checks to look for the function in -lsocket if it is not found.
With this patch applied, there are no more failed tests.
============================================================================
Testsuite summary for dbus 1.14.0
============================================================================
# TOTAL: 229
# PASS: 192
# SKIP: 37
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
Fixes #382