diff options
author | José Fonseca <jrfonseca@users.sourceforge.net> | 2002-09-26 14:24:13 +0000 |
---|---|---|
committer | José Fonseca <jrfonseca@users.sourceforge.net> | 2002-09-26 14:24:13 +0000 |
commit | 3310755ee0dcfed3cdfe865878d35d0a8b766074 (patch) | |
tree | 1efebbd78e1cc427257991c8d405a01cf3765a0c /configure.ac |
Initial revision
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 29 |
1 files changed, 29 insertions, 0 deletions
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]) |