[Nagiosplug-checkins] CVS: nagiosplug configure.in,1.111,1.112

Ton Voon tonvoon at users.sourceforge.net
Thu Aug 19 12:06:16 CEST 2004


Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1241

Modified Files:
	configure.in 
Log Message:
Patch for tru64 using swapctl calls (Sean Finney)


Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.111
retrieving revision 1.112
diff -C2 -r1.111 -r1.112
*** configure.in	18 Aug 2004 20:36:07 -0000	1.111
--- configure.in	19 Aug 2004 19:05:48 -0000	1.112
***************
*** 5,9 ****
  AC_CONFIG_SRCDIR(Helper.pm)
  AM_INIT_AUTOMAKE
! AC_CONFIG_HEADER(config.h)
  AC_CANONICAL_HOST
  
--- 5,9 ----
  AC_CONFIG_SRCDIR(Helper.pm)
  AM_INIT_AUTOMAKE
! AM_CONFIG_HEADER(config.h)
  AC_CANONICAL_HOST
  
***************
*** 1389,1392 ****
--- 1389,1409 ----
  fi
  
+ dnl
+ dnl test for swapctl system call, as found in tru64 and solaris
+ dnl note: the way the ifdef logic in check_swap is right now,
+ dnl this will only affect systems that don't pass one of the
+ dnl earlier tests.
+ dnl
+ AC_CHECK_HEADERS([sys/swap.h sys/stat.h sys/param.h])
+ AC_CHECK_DECLS([swapctl],,,[
+ 	#include <sys/types.h>
+ 	#include <sys/stat.h>
+ 	#include <sys/swap.h>
+ 	])
+ dnl
+ dnl end test for swapctl system call
+ dnl
+ 
+ 
  if test "x$ac_cv_have_swap" != "x" 
  then





More information about the Commits mailing list