1 dnl Process this file with autoconf to produce a configure script.
3 AC_CONFIG_HEADER(config.h)
5 dnl Checks for programs.
8 dnl Use -Wall if possible
10 if test "x$GCC" = "xyes"; then
12 *[\ \ ]-Wall[\ \ ]*) ;;
13 *) CFLAGS="$CFLAGS -Wall" ;;
18 dnl Does file(1) support '-b' ?
19 AC_MSG_CHECKING(whether file -b works)
20 if file -b / > /dev/null 2> /dev/null
22 AC_DEFINE(FILE_B_FLAG)
28 dnl Checks for header files.
33 AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h mntent.h sys/ucred.h)
35 dnl Checks for typedefs, structures, and compiler characteristics.
40 dnl Checks for library functions.
41 AC_CHECK_FUNCS(gethostname mkdir rmdir strdup strtol getopt_long)