ossp-pkg/lmtp2nntp/configure.ac
1.4
dnl ##
dnl ## configure.ac: GNU Autoconf script input (M4 syntax)
dnl ##
dnl # standard preamble
AC_PREREQ(2.52)
AC_REVISION(1.0)
AC_INIT(lmtp2nntp.c)
AC_DIVERT_PUSH(NOTICE)
V=`./shtool version -lc -dlong version.c`
./shtool echo -e "Configuring %BOSSP lmtp2nntp%b, Version %B${V}%b"
AC_DIVERT_POP()
dnl # feature tests
AC_SET_MAKE
AC_PROG_CC
AC_PROG_CPP
AC_CHECK_DEBUGGING
AC_CHECK_EXTLIB([Generic String Library], str, str_parse, str.h, :, echo "REQUIRE STR!"; exit 1)
AC_CHECK_LIB(socket, getprotobyname)
AC_CHECK_LIB(nsl, gethostbyname)
AC_CHECK_FUNCS(inet_pton inet_aton)
dnl # standard output generation
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES(Makefile:Makefile.in)
AC_OUTPUT