On Fri, Oct 1, 2010 at 18:29:54 +0200, Michel Dänzer wrote: > On Fre, 2010-10-01 at 18:27 +0200, Julien Cristau wrote: > > #if ABI_VIDEODRV_VERSION < SET_ABI_VERSION(9, 0) > > old code > > #else > > new code > > #endif > > That would work perfectly, if the ABI was bumped by every change which > breaks the ABI... > It'll work for this specific bump. Or you could do something like AC_CHECK_MEMBERS([ScrnInfoRec.pixmapPrivate],[],[],[#include <xf86str.h>]) in configure.ac, and check HAVE_SCRNINFOREC_PIXMAPPRIVATE.
Cheers, Julien _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
