[PATCH GNUPG] Remove unused check for mail program

Alon Bar-Lev alon.barlev at gmail.com
Mon Jun 18 18:45:06 CEST 2018


* configure.ac (--with-mailprog): Remove.

--

SENDMAIL substitution is never used.

Signed-off-by: Alon Bar-Lev <alon.barlev at gmail.com>
---
 configure.ac | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0d270a4..3d1c202 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1200,27 +1200,6 @@ fi
 AM_CONDITIONAL(USE_LDAPWRAPPER, test "$use_ldapwrapper" = yes)
 
 
-
-
-#
-# Check for sendmail
-#
-# This isn't necessarily sendmail itself, but anything that gives a
-# sendmail-ish interface to the outside world.  That includes Exim,
-# Postfix, etc.  Basically, anything that can handle "sendmail -t".
-AC_ARG_WITH(mailprog,
-      AC_HELP_STRING([--with-mailprog=NAME],
-                     [use "NAME -t" for mail transport]),
-             ,with_mailprog=yes)
-if test x"$with_mailprog" = xyes ; then
-    AC_PATH_PROG(SENDMAIL,sendmail,,$PATH:/usr/sbin:/usr/libexec:/usr/lib)
-elif test x"$with_mailprog" != xno ; then
-    AC_MSG_CHECKING([for a mail transport program])
-    AC_SUBST(SENDMAIL,$with_mailprog)
-    AC_MSG_RESULT($with_mailprog)
-fi
-
-
 #
 # Construct a printable name of the OS
 #
-- 
2.16.4




More information about the Gnupg-devel mailing list