[Nagiosplug-devel] 1.4.0-alpha3 + openbsd

Julien TOUCHE julien.touche at lycos.com
Mon Dec 27 12:00:03 CET 2004


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




More information about the Devel mailing list