[Xcb] using Xorg util-macros in xcb modules?

Josh Triplett josh at joshtriplett.org
Wed Nov 27 17:13:09 PST 2013


On Wed, Nov 27, 2013 at 04:31:00PM -0800, Alan Coopersmith wrote:
> On 11/26/13 11:50 PM, Ran Benita wrote:
> >Hi Gaetan,
> >
> >On Tue, Nov 26, 2013 at 07:02:23PM -0500, Gaetan Nadon wrote:
> >>On 13-11-26 06:33 PM, Ran Benita wrote:
> >>>This was already committed, but how about changing to AC_CC_C99 instead?
> >>Pardon me as I am out of context. The xserver module is configured with
> >>AC_PROG_CC_C99 that gets pulled in by XORG_DEFAULTS from util-macros.
> >>It's not obvious, but it saves from copying this line in the 250 xorg
> >>modules.
> >
> >Problem is, xcb doesn't use util-macros. I like it myself.
> 
> Is it time to start doing so?   While xcb has a separate wiki & mailing list,
> in many aspects it is an X.Org project these days, and could leverage more of
> the shared infrastructure like util-macros to reduce the amount of reinventing
> of those macros that needs to happen.

No objection here.  As I understand it, you only need util-macros
installed when building from git or otherwise autoreconfing, not when
building from a "make dist" tarball, right?  Given that, I don't see any
harm in using it rather than reinventing it.

- Josh Triplett


More information about the xorg-devel mailing list