[Nagiosplug-checkins] CVS: nagiosplug configure.in,1.56,1.57
Karl DeBisschop
kdebisschop at users.sourceforge.net
Tue Mar 11 22:39:15 CET 2003
Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1:/tmp/cvs-serv10105
Modified Files:
configure.in
Log Message:
version increase, statfs work
Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -r1.56 -r1.57
*** configure.in 11 Mar 2003 22:09:34 -0000 1.56
--- configure.in 12 Mar 2003 06:38:24 -0000 1.57
***************
*** 2,6 ****
AC_REVISION ($Revision$)
AC_INIT(Helper.pm)
! VER=1.3.0
REL=1
AC_SUBST(VER)
--- 2,6 ----
AC_REVISION ($Revision$)
AC_INIT(Helper.pm)
! VER=1.3.99
REL=1
AC_SUBST(VER)
***************
*** 479,490 ****
AC_CHECK_HEADERS(signal.h strings.h string.h syslog.h unistd.h uio.h errno.h regex.h sys/types.h sys/time.h sys/socket.h sys/loadavg.h)
AC_CHECK_HEADERS(stdarg.h sys/unistd.h unistd.h ctype.h stdlib.h)
AC_CHECK_HEADERS(sys/vfs.h,
[AC_TRY_COMPILE([#include <sys/vfs.h>],
! [struct statfs *buf],
[AC_DEFINE(HAVE_STRUCT_STATFS,1,[Define if statfs struct can be found])])])
AC_CHECK_HEADERS(sys/param.h sys/mount.h,
[AC_TRY_COMPILE([#include <sys/param.h>
#include <sys/mount.h>],
! [struct statfs *buf],
[AC_DEFINE(HAVE_STRUCT_STATFS,1,[Define if statfs struct can be found])])])
--- 479,494 ----
AC_CHECK_HEADERS(signal.h strings.h string.h syslog.h unistd.h uio.h errno.h regex.h sys/types.h sys/time.h sys/socket.h sys/loadavg.h)
AC_CHECK_HEADERS(stdarg.h sys/unistd.h unistd.h ctype.h stdlib.h)
+
+ dnl Linux
AC_CHECK_HEADERS(sys/vfs.h,
[AC_TRY_COMPILE([#include <sys/vfs.h>],
! [struct statfs buf; long foo; statfs ("/", &buf); foo = buf.f_namelen;],
[AC_DEFINE(HAVE_STRUCT_STATFS,1,[Define if statfs struct can be found])])])
+
+ dnl FreeBSD
AC_CHECK_HEADERS(sys/param.h sys/mount.h,
[AC_TRY_COMPILE([#include <sys/param.h>
#include <sys/mount.h>],
! [struct statfs buf; int foo; statfs ("/", &buf); foo = buf.f_flags;],
[AC_DEFINE(HAVE_STRUCT_STATFS,1,[Define if statfs struct can be found])])])
More information about the Commits
mailing list