On Wed, 2009-01-07 at 11:11 -0800, Jesse Barnes wrote: > On Wednesday, January 7, 2009 10:54 am Keith Packard wrote: > > On Wed, 2009-01-07 at 10:15 -0800, Jesse Barnes wrote: > > > Ok; I messed with drmIoctl because I thought I remembered you saying we > > > shouldn't put the retry code there but rather in the individual ioctls > > > that needed it. We should probably do that separately anyway though if > > > we ever decide to. > > > > That wasn't me; I'm all for additional levels of bullet-proofing when it > > comes to EINTR as it's hard to test all of the code paths. > > > > > +libdrm_la_LIBADD = -lrt > > > > I fear you'll need autoconf-fu for this? > > > > Otherwise, it looks like a reasonable plan. > > I'm but an autoconf grasshopper. If there's a better way of doing this I'm > open to suggestions.
Paraphrased slightly from server configure.ac: AC_CHECK_FUNCS([clock_gettime], [CLOCK_LIB=], [AC_CHECK_LIB([rt], [clock_gettime], [CLOCK_LIB=-lrt], [AC_MSG_ERROR([Couldn't find clock_gettime])])]) AC_SUBST([CLOCK_LIB]) -- Eric Anholt e...@anholt.net eric.anh...@intel.com
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB
-- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel