dnl Process this file with autoconf to produce a configure script. AC_INIT(acconfig.h) dnl Checks for programs. AC_PROG_LEX AC_PROG_YACC AC_PROG_CC AC_PROG_CPP dnl Make config.h AC_CONFIG_HEADER(config.h:acconfig.h) AC_PATH_PROG(GUNZIP, gunzip) AC_DEFINE_UNQUOTED(GUNZIP, "$ac_cv_path_GUNZIP") dnl Checks for libraries. AC_CHECK_LIB(nsl,gethostbyname) AC_CHECK_LIB(socket,bind) dnl Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_UID_T AC_TYPE_PID_T AC_TYPE_SIZE_T AC_HEADER_TIME AC_STRUCT_TM dnl Checks for library functions. AC_FUNC_MEMCMP AC_FUNC_MMAP AC_FUNC_SETVBUF_REVERSED AC_CHECK_FUNCS(getcwd gethostname mkdir select socket strdup strstr) AC_OUTPUT(Makefile)