help-cfengine
[Top][All Lists]
Advanced

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

Re: Patch cfengine-2.0.7p1


From: Mark . Burgess
Subject: Re: Patch cfengine-2.0.7p1
Date: Thu, 22 May 2003 18:57:02 +0200 (MEST)

 22 May, Dave Love wrote:
> Mark Burgess <Mark.Burgess@iu.hio.no> writes:
> 
>> On 22 May, Fredrik Jagenheim wrote:
>>> On Wed, May 21, 2003 at 04:17:51PM +0200, Mark.Burgess@iu.hio.no wrote:
>>>> 
>>>> Ah - right, I have to actually add it to the distlist! Thanks,
>>>> try p2 now in a minute
>>> 
>>> p2 fails when it tries to compile getloadavg.c on SunOS_5.6.
>>> 
>>> Adding '#define NLIST_STRUCT 1' to src/conf.h fixes this problem, but
>>> I don't know enough about autoconf and friends to fix it 'properly'.
> 
> I forgot that the autoconf testing is currently somewhat inconsistent
> with the getloadavg implementation.  This should do the trick.  I
> don't have a sunos2.6 system to try it on.
> 
> *** pub/getloadavg.c~ Wed May 21 15:26:33 2003
> --- pub/getloadavg.c  Thu May 22 15:29:09 2003
> ***************
> *** 76,81 ****
> --- 76,85 ----
>   
>   #include "../src/conf.h"
>   
> + #ifdef HAVE_NLIST_H         /* What autoconf defines.  */
> + # undef NLIST_STRUCT
> + # define NLIST_STRUCT
> + #endif
>   
>   #include <sys/types.h>
>   


I don't really understand this. Solaris has nlist.h but HAVE_NLIST_H
does not get defined.

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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