]> git.pld-linux.org Git - packages/amavisd.git/blame - amavisd-notest-mta.patch
- rel 7: fix build when sendmail binary is not present
[packages/amavisd.git] / amavisd-notest-mta.patch
CommitLineData
3bf21af9 1diff -urN amavisd-snapshot-20020300.org/configure.in amavisd-snapshot-20020300/configure.in
8f4a5b38 2--- amavisd-snapshot-20020300.org/configure.in Fri Jun 7 01:35:35 2002
1809cb9b
AM
3+++ amavisd-snapshot-20020300/configure.in Fri Jun 7 01:54:16 2002
4@@ -160,16 +160,6 @@
5 qmaildir=`dirname $qmailinject`
6 AC_SUBST(qmaildir)
7
8-if test "x$qmailinject" != "x/bin/false"; then
9- AC_ARG_ENABLE(qmail,
10- [ --enable-qmail use qmail as MTA],
3bf21af9
AM
11- if test "x$enableval" != "xno" ; then
12- MTA=qmail
13- fi,
14- MTA=qmail
8f4a5b38 15- config_type=qmail-queue)
1809cb9b
AM
16-fi
17-
8f4a5b38 18 #
1809cb9b
AM
19 if test "x$MTA" = "xqmail" ; then
20 AC_MSG_ERROR([qmail is not supported by amavisd])
21@@ -243,28 +233,12 @@
22 MTA=postfix
23 fi)
3bf21af9 24
3bf21af9 25-dnl Need to find out whether sendmail_wrapper is really postfix' sendmail
28b72bf3 26-if test "x$MTA" = "xsendmail" ; then
27- strings ${sendmail_wrapper} | grep -i postfix >/dev/null 2>&1
28- if test $? -eq 0 ; then
29- MTA=postfix
30- fi
31-fi
3bf21af9 32-
1809cb9b
AM
33 AC_ARG_ENABLE(exim,
34 [ --enable-exim use exim as MTA],
35 if test "x$enableval" = "xyes" ; then
36 MTA=exim
37 fi)
38
3bf21af9 39-dnl Need to find out whether sendmail_wrapper is really exim's sendmail
28b72bf3 40-if test "x$MTA" = "xsendmail" ; then
41- strings ${sendmail_wrapper} | grep -i exim >/dev/null 2>&1
42- if test $? -eq 0 ; then
43- MTA=exim
44- fi
45-fi
3bf21af9
AM
46-
47 dnl only sendmail
48 dnl relay/no relay must be known before looking
49 dnl for original sendmail.cf file
This page took 0.040117 seconds and 4 git commands to generate.