On Thu, 30 Nov 2000, Jeff Trawick wrote: > Does anyone have thoughts on what should be done in hints.m4 to set > the flavor of lock for a certain platform?
Why do you want to do this? > I'm not yet sure how to change the configure.in logic but it can't be > too hard :) This logic is a bit convoluted, and it took me a while to get it moved from MM into APR, so be careful when changing it. Not telling you not to do it, just giving a heads up that this is non-trivial M4 code. > I don't yet completely understand the current logic for deciding, but > part of it doesn't look right: > > AC_IFALLYES(custom:union_semun, > AC_DECIDE(USE_SYSVSEM_SERIALIZE, [SysV IPC semget()])) > > AFAIK, this says that if have_union_semun is set, we'll use SysV > semaphores. But have_union_semun is rarely set since it is up to the > program to define union semun. Look ab out 20 lines above the AC_IFALLYES. Some platforms do actually define union semun, but not all do. We just find the platforms that advertise a semun, because we can't do much more than that. Ryan _______________________________________________________________________________ Ryan Bloom [EMAIL PROTECTED] 406 29th St. San Francisco, CA 94131 -------------------------------------------------------------------------------