dnl Process this file with autoconf to produce a configure script. AC_INIT(dkimap4/main.C) dnl Checks for programs. AC_PROG_CC AC_PROG_CXX AC_EXEEXT AC_CYGWIN AC_SUBST(CYGWIN) dnl Checks for libraries. AC_CHECK_LIB(socket, getpeername) AC_CHECK_LIB(crypt, crypt) AC_CHECK_LIB(rt, sched_yield) AC_CHECK_LIB(nsl, gethostbyname) AC_CHECK_LIB(pam, pam_start) dnl Checks for header files. AC_CONFIG_HEADER(libdbox/configure.h:libdbox/configure.h.in) AC_HEADER_DIRENT AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h syslog.h termio.h unistd.h crypt.h shadow.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_PID_T AC_TYPE_SIZE_T AC_HEADER_TIME AC_STRUCT_TM dnl Checks for library functions. AC_PROG_GCC_TRADITIONAL AC_FUNC_STRFTIME AC_CHECK_FUNCS(select socket strdup strerror strstr gethostbyname) AC_OUTPUT(config unixlib/Makefile libdbox/Makefile dkimap4/Makefile dkpop3/Makefile movemail/Makefile webmail/Makefile spool/Makefile Makefile)