OSSP CVS Repository

ossp - ossp-pkg/lmtp2nntp/configure.ac 1.7
Not logged in
[Honeypot]  [Browse]  [Directory]  [Home]  [Login
[Reports]  [Search]  [Ticket]  [Timeline
  [Raw

ossp-pkg/lmtp2nntp/configure.ac 1.7
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, , [
			 AC_MSG_RESULT(not found)
			 AC_MSG_ERROR([lmtp2nntp requires libstr!])
			 ])

AC_CHECK_EXTLIB([Dmalloc Library], dmalloc, dmalloc_debug, dmalloc.h, AC_DEFINE(DMALLOC))

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

CVSTrac 2.0.1