Move header files to $includedir/xcb (generally $prefix/include/xcb).
This commit is contained in:
parent
9100981d35
commit
0bccf7d2ee
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue