|
@@ -1,7 +1,7 @@
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
AC_REVISION ($Revision$)
|
|
AC_REVISION ($Revision$)
|
|
|
AC_INIT(Helper.pm)
|
|
AC_INIT(Helper.pm)
|
|
|
-VER=1.3.0
|
|
|
|
|
|
|
+VER=1.3.99
|
|
|
REL=1
|
|
REL=1
|
|
|
AC_SUBST(VER)
|
|
AC_SUBST(VER)
|
|
|
AC_SUBST(REL)
|
|
AC_SUBST(REL)
|
|
@@ -478,14 +478,18 @@ AC_HEADER_TIME
|
|
|
AC_HEADER_SYS_WAIT
|
|
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(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(stdarg.h sys/unistd.h unistd.h ctype.h stdlib.h)
|
|
|
|
|
+
|
|
|
|
|
+dnl Linux
|
|
|
AC_CHECK_HEADERS(sys/vfs.h,
|
|
AC_CHECK_HEADERS(sys/vfs.h,
|
|
|
[AC_TRY_COMPILE([#include <sys/vfs.h>],
|
|
[AC_TRY_COMPILE([#include <sys/vfs.h>],
|
|
|
- [struct statfs *buf],
|
|
|
|
|
|
|
+ [struct statfs buf; long foo; statfs ("/", &buf); foo = buf.f_namelen;],
|
|
|
[AC_DEFINE(HAVE_STRUCT_STATFS,1,[Define if statfs struct can be found])])])
|
|
[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_CHECK_HEADERS(sys/param.h sys/mount.h,
|
|
|
[AC_TRY_COMPILE([#include <sys/param.h>
|
|
[AC_TRY_COMPILE([#include <sys/param.h>
|
|
|
#include <sys/mount.h>],
|
|
#include <sys/mount.h>],
|
|
|
- [struct statfs *buf],
|
|
|
|
|
|
|
+ [struct statfs buf; int foo; statfs ("/", &buf); foo = buf.f_flags;],
|
|
|
[AC_DEFINE(HAVE_STRUCT_STATFS,1,[Define if statfs struct can be found])])])
|
|
[AC_DEFINE(HAVE_STRUCT_STATFS,1,[Define if statfs struct can be found])])])
|
|
|
|
|
|
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|