aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-03-09 12:22:44 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-03-09 12:22:44 +0000
commit629050dcc6ba98ca711132a9eda0da8d370888d1 (patch)
tree237ec11d7d9a0e508faf165fc9004b65e646e086 /configure.in
parent3c221afeb309143eb07b52db4cadf7bf8f8c8936 (diff)
downloadfetchmail-629050dcc6ba98ca711132a9eda0da8d370888d1.tar.gz
fetchmail-629050dcc6ba98ca711132a9eda0da8d370888d1.tar.bz2
fetchmail-629050dcc6ba98ca711132a9eda0da8d370888d1.zip
Fallback to maildrop enabled.
svn path=/trunk/; revision=3588
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index ced05eef..3b4d11dc 100644
--- a/configure.in
+++ b/configure.in
@@ -228,6 +228,7 @@ AC_DEFINE_UNQUOTED(PID_DIR, "$dir")
#
AC_PATH_PROG(procmail, procmail, "", $PATH:/usr/sbin)
AC_PATH_PROG(sendmail, sendmail, "", $PATH:/usr/sbin:/usr/lib)
+AC_PATH_PROG(maildrop, maildrop, "", $PATH:/usr/local/bin)
### use option --disable-fallback to disable fallback MDA
### use option --enable-fallback=procmail or
@@ -235,6 +236,7 @@ AC_PATH_PROG(sendmail, sendmail, "", $PATH:/usr/sbin:/usr/lib)
AC_ARG_ENABLE(fallback,
[ --enable-fallback=procmail enable procmail as fallback (default)
--enable-fallback=sendmail enable /usr/sbin/sendmail as fallback
+ --enable-fallback=maildrop enable maildrop as fallback
--enable-fallback=no disable fallback],,[enable_fallback=auto])
case "$enable_fallback" in
@@ -252,6 +254,13 @@ case "$enable_fallback" in
AC_DEFINE_UNQUOTED(FALLBACK_MDA, "$procmail -d %T")
echo "Will use $procmail as fallback MDA."
;;
+ maildrop) if test -z "$maildrop" ; then
+ AC_ERROR([maildrop selected as fallback, but not found])
+ #not reached
+ fi
+ AC_DEFINE_UNQUOTED(FALLBACK_MDA, "$maildrop -d %T")
+ echo "Will use $maildrop as fallback MDA."
+ ;;
no|unset) echo "Will not use a fallback MDA"
;;
auto|yes|set) if test -n "$procmail" ; then