dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/fold.c)
AC_CONFIG_HEADER(config.h)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_CPP
AC_PROG_GCC_TRADITIONAL
AC_PROG_RANLIB
AC_AIX
AC_MINIX
AC_ISC_POSIX

dnl Checks for header files.
AC_CHECK_HEADERS(limits.h string.h memory.h fcntl.h unistd.h)
AC_HEADER_STAT
AC_HEADER_STDC

dnl Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_SIZEOF(long)
AC_C_BIGENDIAN
AC_C_CONST
AC_C_LONG_DOUBLE
AC_HEADER_DIRENT
AC_STRUCT_ST_BLKSIZE
AC_TYPE_OFF_T
AC_TYPE_SIGNAL
AC_TYPE_SIZE_T

dnl Checks for library functions.
AC_CHECK_FUNCS(strerror isascii)
AC_FUNC_ALLOCA
AC_FUNC_MEMCMP
AC_FUNC_VPRINTF
AC_REPLACE_FUNCS(bcopy memset stpcpy strtoul)

AC_OUTPUT(Makefile doc/Makefile lib/Makefile man/Makefile src/Makefile,
[date > stamp-h])dnl
