summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBob Ham <rah@bash.sh>2009-05-25 12:20:23 +0200
committerJulien Danjou <julien@danjou.info>2009-05-25 12:20:23 +0200
commit62fe187e2d617eb0feb1ca03d8b4a64db9dd952b (patch)
tree3d30c1c4edb62722e7cd26b8a198b1c46d288420 /configure.ac
parentefbe96ee0ab0c5511035eee99f8fe7b38d5f65fa (diff)
Store xcbproto version libxcb was compiled with
Signed-off-by: Julien Danjou <julien@danjou.info>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a8a1358..6b0f3d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,6 +58,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)
+
# Find the xcbgen Python package
AC_MSG_CHECKING(XCBPROTO_XCBPYTHONDIR)
XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto`