dnl Process this file with autoconf to produce a configure script. AC_INIT(parser.c) dnl Checks for programs. AC_PROG_CC AC_PROG_MAKE_SET dnl Checks for libraries. dnl Replace `main' with a function in -lX11: AC_CHECK_LIB(X11, main) dnl Replace `main' with a function in -libs: AC_CHECK_LIB(ibs, main) dnl Replace `main' with a function in -lm: AC_CHECK_LIB(m, main) dnl Replace `main' with a function in -lncurses: AC_CHECK_LIB(ncurses, main) dnl Replace `main' with a function in -ltermcap: AC_CHECK_LIB(termcap, main) dnl Checks for header files. AC_PATH_X AC_HEADER_DIRENT AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sys/file.h sys/ioctl.h sys/time.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE AC_TYPE_SIZE_T AC_HEADER_TIME dnl Checks for library functions. AC_FUNC_MEMCMP AC_FUNC_SETVBUF_REVERSED AC_TYPE_SIGNAL AC_FUNC_VPRINTF AC_CHECK_FUNCS(getcwd gettimeofday putenv select strcspn strspn strstr) AC_OUTPUT(Makefile)