build: Add '--with-sendmail' configure option

This allows users to configure the Mail Transfert Agent (MTA) of their
choice.

* configure.ac: Add '--with-sendmail' option.
(SENDMAIL): Default to 'sendmail -t'.
* NEWS: Announce it.
* src/mcron/redirect.scm (with-mail-out): Assume the MTA is reading the
message for recipients.
* build-aux/guix.scm: Remove 'which' from the native-inputs.
This commit is contained in:
宋文武 2018-10-01 14:07:48 +08:00 committed by Mathieu Lirzin
commit 7228d3048a
No known key found for this signature in database
GPG key ID: 0ADEE10094604D37
4 changed files with 22 additions and 26 deletions

View file

@ -1,5 +1,6 @@
;;;; guix.scm -- Guix package definition
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2018 宋文武 <iyzsong@member.fsf.org>
;;;
;;; This file is part of GNU Mcron.
;;;
@ -62,5 +63,4 @@
("automake" ,(specification->package "automake"))
("help2man" ,(specification->package "help2man"))
("pkg-config" ,(specification->package "pkg-config"))
("texinfo" ,(specification->package "texinfo"))
("which" ,(specification->package "which")))))
("texinfo" ,(specification->package "texinfo")))))