From 0608038f1213086405a4204cc0c6264a15e32a63 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Mon, 25 Sep 2006 03:27:27 -0700 Subject: [PATCH] Move XML protocol descriptions to $datadir/xcb (generally $prefix/share/xcb). --- configure.ac | 2 +- xcb-proto.pc.in | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.34.1