From 3310755ee0dcfed3cdfe865878d35d0a8b766074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 26 Sep 2002 14:24:13 +0000 Subject: Initial revision --- configure.ac | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 configure.ac (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..4a01f27 --- /dev/null +++ b/configure.ac @@ -0,0 +1,29 @@ +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(Makefile.am) +AM_INIT_AUTOMAKE(esmtp, 0.1) + +AM_MAINTAINER_MODE + +AC_PROG_CC +AC_PROG_CPP + +AC_HEADER_STDC +AC_CHECK_HEADERS(fcntl.h unistd.h) + +dnl getopt needs this +AC_C_CONST + +AM_PROG_LEX +AC_PROG_MAKE_SET +AC_PROG_YACC + +YFLAGS=-d + +dnl Check for libESMTP +AC_CHECK_LIB(esmtp, smtp_start_session, + LIBS="$LIBS -lesmtp -lpthread", + AC_MSG_ERROR([*** libESMTP library not found.]), + -lpthread) + +AC_OUTPUT([Makefile]) -- cgit v1.2.3-2-g168b