diff options
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.in b/configure.in index af524f39..48e45067 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | dnl Process this file with autoconf to produce a configure script. | 1 | dnl Process this file with autoconf to produce a configure script. |
| 2 | AC_REVISION ($Revision$) | 2 | AC_REVISION ($Revision$) |
| 3 | AC_INIT(Helper.pm) | 3 | AC_INIT(Helper.pm) |
| 4 | VER=1.3.0 | 4 | VER=1.3.99 |
| 5 | REL=1 | 5 | REL=1 |
| 6 | AC_SUBST(VER) | 6 | AC_SUBST(VER) |
| 7 | AC_SUBST(REL) | 7 | AC_SUBST(REL) |
| @@ -478,14 +478,18 @@ AC_HEADER_TIME | |||
| 478 | AC_HEADER_SYS_WAIT | 478 | AC_HEADER_SYS_WAIT |
| 479 | 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) | 479 | 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) |
| 480 | AC_CHECK_HEADERS(stdarg.h sys/unistd.h unistd.h ctype.h stdlib.h) | 480 | AC_CHECK_HEADERS(stdarg.h sys/unistd.h unistd.h ctype.h stdlib.h) |
| 481 | |||
| 482 | dnl Linux | ||
| 481 | AC_CHECK_HEADERS(sys/vfs.h, | 483 | AC_CHECK_HEADERS(sys/vfs.h, |
| 482 | [AC_TRY_COMPILE([#include <sys/vfs.h>], | 484 | [AC_TRY_COMPILE([#include <sys/vfs.h>], |
| 483 | [struct statfs *buf], | 485 | [struct statfs buf; long foo; statfs ("/", &buf); foo = buf.f_namelen;], |
| 484 | [AC_DEFINE(HAVE_STRUCT_STATFS,1,[Define if statfs struct can be found])])]) | 486 | [AC_DEFINE(HAVE_STRUCT_STATFS,1,[Define if statfs struct can be found])])]) |
| 487 | |||
| 488 | dnl FreeBSD | ||
| 485 | AC_CHECK_HEADERS(sys/param.h sys/mount.h, | 489 | AC_CHECK_HEADERS(sys/param.h sys/mount.h, |
| 486 | [AC_TRY_COMPILE([#include <sys/param.h> | 490 | [AC_TRY_COMPILE([#include <sys/param.h> |
| 487 | #include <sys/mount.h>], | 491 | #include <sys/mount.h>], |
| 488 | [struct statfs *buf], | 492 | [struct statfs buf; int foo; statfs ("/", &buf); foo = buf.f_flags;], |
| 489 | [AC_DEFINE(HAVE_STRUCT_STATFS,1,[Define if statfs struct can be found])])]) | 493 | [AC_DEFINE(HAVE_STRUCT_STATFS,1,[Define if statfs struct can be found])])]) |
| 490 | 494 | ||
| 491 | dnl Checks for typedefs, structures, and compiler characteristics. | 495 | dnl Checks for typedefs, structures, and compiler characteristics. |
