Move header files to $includedir/xcb (generally $prefix/include/xcb).
authorJamey Sharp <jamey@minilop.net>
Mon, 25 Sep 2006 11:03:01 +0000 (04:03 -0700)
committerJamey Sharp <jamey@minilop.net>
Mon, 25 Sep 2006 11:19:25 +0000 (04:19 -0700)
configure.ac
tools/api_conv.pl

index ff91834..afcdc8c 100644 (file)
@@ -58,7 +58,7 @@ AC_HEADER_STDC
 AC_SEARCH_LIBS(gethostbyname, nsl)
 AC_SEARCH_LIBS(connect, socket)
 
-xcbincludedir='${includedir}/X11/XCB'
+xcbincludedir='${includedir}/xcb'
 AC_SUBST(xcbincludedir)
 
 AC_ARG_WITH(opt,
index 2b0fa9f..7e26145 100755 (executable)
@@ -93,4 +93,5 @@ sub convert($$)
        return "xcb" . $_;
 }
 
+s/^(\s*#\s*include\s*<)X11\/XCB\//$1xcb\//;
 s/([_A-Za-z][_A-Za-z0-9]*)([ \t]*\()?/convert($1, defined $2) . ($2 or "")/eg;