xcb-errors.pc.in: Actually set the required version of xcb

This commit is contained in:
Dylan Baker 2024-12-03 11:33:59 -08:00
parent 93985c5bc5
commit 4cf566ba74
2 changed files with 4 additions and 2 deletions

View file

@ -15,7 +15,9 @@ AM_INIT_AUTOMAKE([foreign dist-xz subdir-objects])
AC_TYPE_SSIZE_T
XCB_UTIL_M4_WITH_INCLUDE_PATH
XCB_UTIL_COMMON([1.4], [1.6])
XCB_REQUIRED=1.4
XCB_UTIL_COMMON([$XCB_REQUIRED], [1.6])
AC_SUBST(XCB_REQUIRED, 1.4)
AM_PATH_PYTHON([3.9])

View file

@ -7,6 +7,6 @@ xcbproto_version=@XCBPROTO_VERSION@
Name: XCB errors library
Description: XCB errors utility library
Version: @PACKAGE_VERSION@
Requires: xcb
Requires: xcb >= @XCB_REQUIRED@
Libs: -L${libdir} -lxcb-errors
Cflags: -I${includedir}