[Xcb-commit] configure.ac xcb-proto.pc.in

Jamey Sharp jamey at kemper.freedesktop.org
Mon Sep 25 03:30:32 PDT 2006


 configure.ac    |    2 +-
 xcb-proto.pc.in |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
diff-tree 0608038f1213086405a4204cc0c6264a15e32a63 (from 5f14bbec75abbbc3d2585db0f53fcfe8dbdfa625)
Author: Jamey Sharp <jamey at minilop.net>
Date:   Mon Sep 25 03:27:27 2006 -0700

    Move XML protocol descriptions to $datadir/xcb (generally $prefix/share/xcb).

diff --git a/configure.ac b/configure.ac
index 5c1044d..ba1eb32 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,7 +14,7 @@ if test "$XMLLINT" = "no"; then
    AC_MSG_WARN([xmllint not found; unable to validate against schema.])
 fi
 
-xcbincludedir='${includedir}/X11/XCB'
+xcbincludedir='${datadir}/xcb'
 AC_SUBST(xcbincludedir)
 
 AC_OUTPUT([Makefile src/Makefile xcb-proto.pc])
diff --git a/xcb-proto.pc.in b/xcb-proto.pc.in
index 9e9d23d..08977f9 100644
--- a/xcb-proto.pc.in
+++ b/xcb-proto.pc.in
@@ -1,5 +1,6 @@
 prefix=@prefix@
-includedir=@includedir@
+datarootdir=@datarootdir@
+datadir=@datadir@
 xcbincludedir=@xcbincludedir@
 
 Name: XCB Proto


More information about the xcb-commit mailing list