configure.ac: Depend on pthread-stubs only on not-Linux
Signed-off-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
f9f4b00aad
commit
8f7e4c4e9f
|
@ -51,7 +51,11 @@ AC_SUBST(HTML_CHECK_RESULT)
|
||||||
|
|
||||||
# Checks for pkg-config packages
|
# Checks for pkg-config packages
|
||||||
PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.13)
|
PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.13)
|
||||||
NEEDED="pthread-stubs xau >= 0.99.2"
|
NEEDED="xau >= 0.99.2"
|
||||||
|
case $host_os in
|
||||||
|
linux*) ;;
|
||||||
|
*) NEEDED="$NEEDED pthread-stubs" ;;
|
||||||
|
esac
|
||||||
PKG_CHECK_MODULES(NEEDED, $NEEDED)
|
PKG_CHECK_MODULES(NEEDED, $NEEDED)
|
||||||
|
|
||||||
have_xdmcp="no"
|
have_xdmcp="no"
|
||||||
|
|
Loading…
Reference in New Issue