Kaveh wrote:
> Another approach would be to do this:
>
> if $host == $target && $build == $target
> Use autoconf to set GETGROUPS_T
> else
> GETGROUPS_T = gid_t
> fi
Good call. I like this solution. It will be
necessary to use __GETGROUPS_T, however, because
GETGROUPS_T is in the user name space. "configure"
can get away with it because it is acting on behalf of
the user, whereas we are inserting stuff into system
headers. The reason I am dragging the autoconf folks
into the discussion is because it might be convenient
for them to:
#ifdef __GETGROUPS_T
#define GETGROUPS_T __GETGROUPS_T
#else
....
(i.e. only go through the machinations of the getgroups
brokenness test when they have to.)