34 lines (25 with data), 587 Bytes
AC_INIT([mailsync], [5.2.7], [tpo_deb@sourcepole.ch])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
AC_CONFIG_SRCDIR([src/main.cc])
AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_AWK
AC_PROG_CPP
AC_HEADER_STDC
AC_CHECK_HEADERS([string.h])
AC_C_CONST
AC_FUNC_STAT
AC_CHECK_FUNCS([getpass memset strchr strdup strerror strtoul])
# default action of AC_CHECK_LIB is to add item to LIBS
AC_CHECK_LIB(crypt,crypt)
AC_WITH_CCLIENT(,[
AC_MSG_ERROR([a working c-client installation is required for building mailsync])
])
AC_WITH_MD5
AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_OUTPUT