]> granicus.if.org Git - neomutt/commitdiff
autosetup: fix check for missing sendmail
authorRichard Russon <rich@flatcap.org>
Mon, 6 Nov 2017 13:19:57 +0000 (13:19 +0000)
committerGitHub <noreply@github.com>
Mon, 6 Nov 2017 13:19:57 +0000 (13:19 +0000)
If sendmail wasn't on the path, then configure.autosetup defined
    SENDMAIL=false

auto.def

index 31df97649fbb4355c6d2af5a45f8f5db5370b089..6a59b9bb234c4c73f4bbb5f021555b18a43dec64 100644 (file)
--- a/auto.def
+++ b/auto.def
@@ -188,8 +188,7 @@ if {1} {
   # Check for tools and programs
   cc-check-tools ar ranlib strip
   cc-check-progs install
-  cc-path-progs sendmail
-  if {![is-defined SENDMAIL]} {
+  if {![cc-path-progs sendmail]} {
     define SENDMAIL /usr/sbin/sendmail
   }