[Nagiosplug-checkins] CVS: nagiosplug configure.in,1.73,1.74

Ton Voon tonvoon at users.sourceforge.net
Tue Mar 25 21:38:06 CET 2003


Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1:/tmp/cvs-serv29499

Modified Files:
	configure.in 
Log Message:
ipv6 check requires unistd.h for Darwin


Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -r1.73 -r1.74
*** configure.in	26 Mar 2003 03:57:58 -0000	1.73
--- configure.in	26 Mar 2003 05:37:11 -0000	1.74
***************
*** 284,290 ****
  	OPENSSL=$withval,)
  
! dnl Check for AF_INET6 support
  AC_CACHE_CHECK([for IPv6 support], with_ipv6, [
! 	AC_TRY_COMPILE([#include <netinet/in.h>
  			#include <sys/socket.h>],
  			[struct sockaddr_in6 sin6;
--- 284,295 ----
  	OPENSSL=$withval,)
  
! AC_CHECK_HEADERS(unistd.h)
! 
! dnl Check for AF_INET6 support - unistd.h required for Darwin
  AC_CACHE_CHECK([for IPv6 support], with_ipv6, [
! 	AC_TRY_COMPILE([#ifdef HAVE_UNISTD_H
! 			#include <unistd.h>
! 			#endif
! 			#include <netinet/in.h>
  			#include <sys/socket.h>],
  			[struct sockaddr_in6 sin6;
***************
*** 466,471 ****
  AC_HEADER_TIME
  AC_HEADER_SYS_WAIT
! 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(limits.h sys/param.h sys/mount.h sys/vfs.h sys/fs/s5param.h sys/filsys.h fcntl.h sys/statfs.h sys/dustat.h sys/statvfs.h)
  
--- 471,476 ----
  AC_HEADER_TIME
  AC_HEADER_SYS_WAIT
! AC_CHECK_HEADERS(signal.h strings.h string.h syslog.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 ctype.h stdlib.h)
  AC_CHECK_HEADERS(limits.h sys/param.h sys/mount.h sys/vfs.h sys/fs/s5param.h sys/filsys.h fcntl.h sys/statfs.h sys/dustat.h sys/statvfs.h)
  





More information about the Commits mailing list