From 8f7e4c4e9fc6ee6b5b5498a7d8af79150be0d26a Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 22 Feb 2020 11:24:11 -0800 Subject: configure.ac: Depend on pthread-stubs only on not-Linux Signed-off-by: Matt Turner --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0c1cfaf..fb5bd4d 100644 --- a/configure.ac +++ b/configure.ac @@ -51,7 +51,11 @@ AC_SUBST(HTML_CHECK_RESULT) # Checks for pkg-config packages 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) have_xdmcp="no" -- cgit v1.2.3