configure.ac: drop dependency `pthread-stubs` on Solaris
On Solaris 10 and later, the pthread functions are directly in libc, and libpthread only has metadata to redirect calls from it to the libc functions. On Solaris 9 and older (no longer supported), libc contained its own thread stubs that libpthread then overrode. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
d53ad60d77
commit
06e1ef43bb
|
@ -53,7 +53,7 @@ AC_SUBST(HTML_CHECK_RESULT)
|
||||||
PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.15.1)
|
PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.15.1)
|
||||||
NEEDED="xau >= 0.99.2"
|
NEEDED="xau >= 0.99.2"
|
||||||
case $host_os in
|
case $host_os in
|
||||||
linux*|darwin*) ;;
|
linux*|darwin*|solaris*) ;;
|
||||||
*) NEEDED="$NEEDED pthread-stubs" ;;
|
*) NEEDED="$NEEDED pthread-stubs" ;;
|
||||||
esac
|
esac
|
||||||
PKG_CHECK_MODULES(NEEDED, $NEEDED)
|
PKG_CHECK_MODULES(NEEDED, $NEEDED)
|
||||||
|
|
Loading…
Reference in New Issue