Mercurial > noffle
comparison configure.in @ 146:fd821441f016 noffle
[svn] Applied patch by Paul Slootman: using the mail program is
replaced by sendmail (SENDMAILPROG variable).
author | enz |
---|---|
date | Sun, 15 Oct 2000 18:23:27 +0100 |
parents | ffb8a4a91218 |
children | 98bbe33d13b8 |
comparison
equal
deleted
inserted
replaced
145:deb2320befd7 | 146:fd821441f016 |
---|---|
26 AC_PROG_CC | 26 AC_PROG_CC |
27 AC_PROG_GCC_TRADITIONAL | 27 AC_PROG_GCC_TRADITIONAL |
28 AC_PROG_INSTALL | 28 AC_PROG_INSTALL |
29 AC_PROG_MAKE_SET | 29 AC_PROG_MAKE_SET |
30 | 30 |
31 AC_CHECK_PROG(MAILPROG, mail, mail) | 31 AC_PATH_PROG(SENDMAILPROG, sendmail, 'notfound', |
32 if test "x$MAILPROG" != "xmail"; then | 32 /usr/sbin:/usr/lib:$PATH) |
33 AC_MSG_ERROR(mail program not found.) | 33 if test "x$SENDMAILPROG" = "xnotfound"; then |
34 fi | 34 AC_MSG_ERROR(sendmail program not found in /usr/lib:/usr/sbin:$PATH .) |
35 | 35 fi |
36 AC_CHECK_PROG(SORTPROG, sort, sort) | |
37 if test "x$SORTPROG" != "xsort"; then | |
38 AC_MSG_ERROR(sort program not found.) | |
39 fi | |
40 | |
41 | 36 |
42 dnl --------------------------------------------------------------------------- | 37 dnl --------------------------------------------------------------------------- |
43 dnl System checks. | 38 dnl System checks. |
44 dnl --------------------------------------------------------------------------- | 39 dnl --------------------------------------------------------------------------- |
45 | 40 |
198 AC_SUBST(SPOOLDIR) | 193 AC_SUBST(SPOOLDIR) |
199 | 194 |
200 DOCDIR=$noffle_cv_docdir | 195 DOCDIR=$noffle_cv_docdir |
201 AC_SUBST(DOCDIR) | 196 AC_SUBST(DOCDIR) |
202 | 197 |
198 AC_DEFINE_UNQUOTED(SENDMAILPROG, "$SENDMAILPROG") | |
203 | 199 |
204 dnl --------------------------------------------------------------------------- | 200 dnl --------------------------------------------------------------------------- |
205 dnl Output files. | 201 dnl Output files. |
206 dnl --------------------------------------------------------------------------- | 202 dnl --------------------------------------------------------------------------- |
207 | 203 |