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 |
|
|
88 |
# Find the right directory to put the root-mode PID file in |
# Find the right directory to put the root-mode PID file in |
89 |
AC_MSG_CHECKING([pid file location]) |
AC_MSG_CHECKING([pid file location]) |
99 |
[Define to the pid storage directory.]) |
[Define to the pid storage directory.]) |
100 |
AC_MSG_RESULT([$piddir]) |
AC_MSG_RESULT([$piddir]) |
101 |
|
|
102 |
|
# Test mounted filesystem description file |
103 |
|
if test -f "/etc/mtab" |
104 |
|
then |
105 |
|
AC_DEFINE([HAVE_MTAB], 1, [Define to 1 if you have /etc/mtab]) |
106 |
|
elif test -f "/etc/mnttab"; then |
107 |
|
AC_DEFINE([HAVE_MNTTAB], 1, [Define to 1 if you have /etc/mnttab]) |
108 |
|
fi |
109 |
|
|
110 |
# Backward compatibility until we get ride of arch settings |
# Backward compatibility until we get ride of arch settings |
111 |
if test `uname` = "SunOS" |
if test `uname` = "SunOS" |
112 |
then |
then |