[Xcb] [PATCH RESEND image 11/12] test: use AM_CPPFLAGS rather than per-target test_swap_CPPFLAGS aand others

Josh Triplett josh at joshtriplett.org
Thu Mar 27 20:55:01 PDT 2014


On Thu, Mar 27, 2014 at 05:50:13PM -0700, Alan Coopersmith wrote:
> On 03/27/14 05:45 PM, Josh Triplett wrote:
> >If we can simply count on "inline", that seems ideal; if we can't for
> >some reason, then I'd suggest making a very simple autoconf test that
> >checks if "inline" works and defines inline to nothing otherwise.
> 
> https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/C-Compiler.html#AC_005fC_005fINLINE

Perfect.  Let's use that, use inline freely, and drop _X_INLINE and the
inclusion of a header just for that.

- Josh Triplett


More information about the Xcb mailing list