configure.ac: drop `pthread-stubs` dependency on DragonFly and FreeBSD

All `pthread_*` symbols used by libxcb have stubs in libc. So, stop
linking against libpthread.
This commit is contained in:
Jan Beich 2023-02-10 14:16:20 +00:00 committed by Alan Coopersmith
parent 4d1a578dd5
commit fd04ab24a5

View File

@ -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*|solaris*) ;; linux*|darwin*|solaris*|dragonfly*|freebsd*) ;;
*) NEEDED="$NEEDED pthread-stubs" ;; *) NEEDED="$NEEDED pthread-stubs" ;;
esac esac
PKG_CHECK_MODULES(NEEDED, $NEEDED) PKG_CHECK_MODULES(NEEDED, $NEEDED)