Move header files to $includedir/xcb (generally $prefix/include/xcb).

This commit is contained in:
Jamey Sharp 2006-09-25 04:03:01 -07:00
parent 9100981d35
commit 0bccf7d2ee
2 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,7 @@ AC_HEADER_STDC
AC_SEARCH_LIBS(gethostbyname, nsl) AC_SEARCH_LIBS(gethostbyname, nsl)
AC_SEARCH_LIBS(connect, socket) AC_SEARCH_LIBS(connect, socket)
xcbincludedir='${includedir}/X11/XCB' xcbincludedir='${includedir}/xcb'
AC_SUBST(xcbincludedir) AC_SUBST(xcbincludedir)
AC_ARG_WITH(opt, AC_ARG_WITH(opt,

View File

@ -93,4 +93,5 @@ sub convert($$)
return "xcb" . $_; 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; s/([_A-Za-z][_A-Za-z0-9]*)([ \t]*\()?/convert($1, defined $2) . ($2 or "")/eg;