Add xcb-proto version to xcb-errors.pc

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2015-04-06 16:37:22 +02:00
parent 4911a0c8c3
commit 5f13d59080
2 changed files with 5 additions and 0 deletions

View file

@ -24,6 +24,10 @@ XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
AC_MSG_RESULT($XCBPROTO_XCBINCLUDEDIR)
AC_SUBST(XCBPROTO_XCBINCLUDEDIR)
# Find the xcb-proto version
XCBPROTO_VERSION=`$PKG_CONFIG --modversion xcb-proto`
AC_SUBST(XCBPROTO_VERSION)
AC_OUTPUT([Makefile
xcb-errors.pc
])

View file

@ -2,6 +2,7 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
xcbproto_version=@XCBPROTO_VERSION@
Name: XCB errors library
Description: XCB errors utility library