[Nagiosplug-devel] 1.4.0-alpha3 + openbsd

Ton Voon tonvoon at mac.com
Tue Dec 28 12:42:13 CET 2004


Julien,

Thanks for the report on this. The configure.in patch is fine: it makes  
sense and obviously should be there, so I'll commit that now.

The other change you make can't be applied to configure, because this  
is generated from configure.in and the files in m4/. It seems like the  
grp.h check is in one of the coreutils files - ls-mntd-fs.m4.  
Therefore, can you check if you have this problem with the coreutils  
distribution (we currently are synching with 5.2.1).

I'd be happy to receive a patch for ls-mntd-fs.m4, but it should be  
applied upstream so that when we update from a newer coreutils, we  
don't lose your fix.

Ton

On 27 Dec 2004, at 19:59, Julien TOUCHE wrote:

> this work on snaphsot from HEAD-200412231747
> * configure.in patch ok
> * autoconf
> * configure patch ok
> for sys/ucred.h and mntent.h if i remember well
> i didn't find their entries in configure.in
>
>> ---------------------------------------------------------------------- 
>> --
>> $OpenBSD$
>> --- configure.orig	Sat Dec 18 15:20:38 2004
>> +++ configure	Sat Dec 18 15:23:49 2004
>> @@ -21569,6 +21569,9 @@ cat confdefs.h >>conftest.$ac_ext
>>  cat >>conftest.$ac_ext <<_ACEOF
>>  /* end confdefs.h.  */
>>  #include <grp.h>
>> +#if HAVE_SYS_PARAM_H
>> +# include <sys/param.h>
>> +#endif   #include <$ac_header>
>>  _ACEOF
>> @@ -21640,6 +21643,9 @@ cat confdefs.h >>conftest.$ac_ext
>>  cat >>conftest.$ac_ext <<_ACEOF
>>  /* end confdefs.h.  */
>>  $ac_includes_default
>> +#ifdef HAVE_SYS_PARAM_H
>> +#include <sys/param.h>
>> +#endif
>>  #include <$ac_header>
>>  _ACEOF
>>  rm -f conftest.$ac_objext
>> ---------------------------------------------------------------------- 
>> --
>> $OpenBSD$
>> --- configure.in.orig	Sat Dec 18 15:38:32 2004
>> +++ configure.in	Sat Dec 18 15:39:03 2004
>> @@ -1374,12 +1374,13 @@ dnl fwict, the 2-arg is an SVR4 standard
>>  dnl in the various BSD's
>>  dnl
>>  +dnl sys/param.h needed for sys/swap.h on openbsd
>> +AC_CHECK_HEADERS([sys/stat.h sys/param.h])
>>  AC_CHECK_HEADERS([sys/swap.h], [], [], [
>>  #ifdef HAVE_SYS_PARAM_H
>>  #include <sys/param.h>
>>  #endif
>>  ])
>> -AC_CHECK_HEADERS([sys/stat.h sys/param.h])
>>  AC_CHECK_DECLS([swapctl],,,[
>>                 #include <unistd.h>
>>                 #include <sys/types.h>
>
>
> Regards
>
> 		Julien
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real  
> users.
> Discover which products truly live up to the hype. Start reading now.  
> http://productguide.itmanagersjournal.com/
> _______________________________________________________
> Nagios Plugin Development Mailing List  
> Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at  
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any  
> issue. ::: Messages without supporting info will risk being sent to  
> /dev/null
>





More information about the Devel mailing list