dnl Process this file with autoconf to produce a configure script. AC_INIT(mod_bind.c) AC_CONFIG_HEADER(config.h) dnl Global version variable PACKAGE="mod_bind" AC_SUBST(PACKAGE) VERSION="1.0.0" AC_SUBST(VERSION) AC_SUBST(MANDATE) dnl Checks for programs AC_PROG_CC AC_CHECK_TOOL(AR, ar) AC_PATH_PROG(RM, rm, rm) AC_PROG_YACC dnl Checks for header files AC_HEADER_DIRENT AC_DECL_SYS_SIGLIST AC_HEADER_DIRENT AC_HEADER_STDC AC_HEADER_STAT AC_HEADER_TIME AC_CHECK_HEADERS(fcntl.h gdbm.h ndbm.h stdio.h stdlib.h string.h strings.h unistd.h) dnl Checks for typedefs, structures and compiler characteristics AC_C_CONST AC_TYPE_SIZE_T AC_HEADER_STAT AC_TYPE_SIGNAL AC_STRUCT_TM dnl Checks for library functions AC_PROG_GCC_TRADITIONAL AC_FUNC_ALLOCA AC_FUNC_STRFTIME AC_CHECK_FUNCS(gethostname mkdir strchr strerror strspn strstr) AC_CHECK_LIB(resolv, gethostname) AC_OUTPUT([Makefile])