summaryrefslogtreecommitdiff
path: root/dist/libxcb/configure.ac
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2020-05-16 08:49:01 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2020-05-16 08:49:01 +0000
commit2b99abbf904b991354dd11894f89df4149d78452 (patch)
tree7115019219898a5af95ff5eab9dd2de4f64c23ed /dist/libxcb/configure.ac
parentcce403ce8a020b2a263b96cfadd870d153c1d618 (diff)
Update to libxcb 1.14 and xcb-proto 1.14. ok tb@
Diffstat (limited to 'dist/libxcb/configure.ac')
-rw-r--r--dist/libxcb/configure.ac14
1 files changed, 9 insertions, 5 deletions
diff --git a/dist/libxcb/configure.ac b/dist/libxcb/configure.ac
index 8a05bf1aa..adb48e789 100644
--- a/dist/libxcb/configure.ac
+++ b/dist/libxcb/configure.ac
@@ -2,8 +2,8 @@ dnl Process this file with autoconf to produce a configure script.
# Initialize Autoconf
AC_PREREQ([2.60])
-AC_INIT([libxcb],[1.13.1],
- [https://bugs.freedesktop.org/enter_bug.cgi?product=xcb],
+AC_INIT([libxcb],[1.14],
+ [https://gitlab.freedesktop.org/xorg/lib/libxcb/issues],
[libxcb])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
@@ -11,7 +11,7 @@ AC_CONFIG_SRCDIR([xcb.pc.in])
AC_CONFIG_HEADERS([src/config.h])
# Initialize Automake
-AM_INIT_AUTOMAKE([foreign dist-bzip2])
+AM_INIT_AUTOMAKE([foreign dist-xz])
AM_PATH_PYTHON([2.6])
# Set common system defines for POSIX extensions, such as _GNU_SOURCE
@@ -50,8 +50,12 @@ fi
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"
+PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.14)
+NEEDED="xau >= 0.99.2"
+case $host_os in
+linux*) ;;
+ *) NEEDED="$NEEDED pthread-stubs" ;;
+esac
PKG_CHECK_MODULES(NEEDED, $NEEDED)
have_xdmcp="no"