On 8 Jul 2010, at 21:55, Gary V. Vaughan wrote:
> I guess the solution is to add checks for <priv.h>, <sys/priv.h> 
> headers and change priv-set.h to read as follows (or similar):
> 
>  #if HAVE_GETPPRIV
>  # if HAVE_PRIV_H
>  #   include <priv.h>
>  # else
>  #   if HAVE_SYS_TYPES_H
>  #     include <sys/types.h>
>  #   endif
>  #   if HAVE_SYS_PRIV_H
>  #     include <sys/priv.h>
>  #   endif
>  # endif
>  ...

Ignore that part, getppriv on aix6+ is designed for an entirely
different purpose, albeit with an entirely identical symbolname :(

I'm passing ac_cv_func_getppriv=no to prevent the bogus match for
now, but it would be good to improve the HAVE_GETPPRIV setting to
figure out whether this particular getppriv function is the one
priv-set.h is looking for.

Cheers,
-- 
Gary V. Vaughan (g...@gnu.org)

Reply via email to