bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] priv-set on aix6.1


From: Gary V. Vaughan
Subject: Re: [BUG] priv-set on aix6.1
Date: Thu, 8 Jul 2010 22:23:58 +0700

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 (address@hidden)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]