On 05/24/2013 03:46 PM, Jack Howarth wrote:
> I tried changing the instances of _DARWIN_C_SOURCE to _POSIX_C_SOURCE in 
> configure

That won't work, for the reasons you describe.

How about this idea: modify getgroups.m4 to recognize
the Darwin situation and compile a substitute getgroups.c,
and modify getgroups.c to work around the Darwin problem
by defining a rpl_getgroups that calls the correct Darwin
getgroups.  It'll take a bit of Darwinish hacking to get
this to work, but it should work.



Reply via email to