7 |
AC_PREREQ([2.53]) |
AC_PREREQ([2.53]) |
8 |
|
|
9 |
# Init autoconf and automake |
# Init autoconf and automake |
10 |
AC_INIT([monit], [3.3], [hauk@tildeslash.com]) |
AC_INIT([monit], [4.0], [hauk@tildeslash.com]) |
11 |
|
|
12 |
# Package info |
# Package info |
13 |
AC_REVISION([$Revision$]) |
AC_REVISION([$Revision$]) |
48 |
AC_HEADER_SYS_WAIT |
AC_HEADER_SYS_WAIT |
49 |
AC_HEADER_STAT |
AC_HEADER_STAT |
50 |
AC_HEADER_TIME |
AC_HEADER_TIME |
51 |
AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h string.h strings.h sys/ioctl.h unistd.h sys/socket.h syslog.h sys/loadavg.h asm/param.h limits.h stropts.h getopt.h sys/filio.h string.h sys/time.h errno.h]) |
AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h string.h strings.h sys/ioctl.h unistd.h sys/socket.h syslog.h sys/loadavg.h asm/param.h limits.h stropts.h getopt.h sys/filio.h string.h sys/time.h errno.h sys/vfs.h sys/statvfs.h mntent.h sys/mnttab.h]) |
52 |
|
|
53 |
# Check for types. |
# Check for types. |
54 |
AC_TYPE_MODE_T |
AC_TYPE_MODE_T |
82 |
AC_FUNC_MALLOC |
AC_FUNC_MALLOC |
83 |
AC_FUNC_STAT |
AC_FUNC_STAT |
84 |
AC_FUNC_STRFTIME |
AC_FUNC_STRFTIME |
85 |
|
AC_CHECK_FUNCS(statfs) |
86 |
|
AC_CHECK_FUNCS(statvfs) |
87 |
AC_CHECK_FUNCS(getpwnam_r getpwuid_r getgrnam_r getgrgid_r) |
AC_CHECK_FUNCS(getpwnam_r getpwuid_r getgrnam_r getgrgid_r) |
88 |
|
|
89 |
# Find the right directory to put the root-mode PID file in |
# Find the right directory to put the root-mode PID file in |