mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
plug-ins: if --with-sendmail is set with a value, use it. (2)
I should always test my patches thoroughly! Commit 912fcec
was not
working as planned. This is!
This commit is contained in:
parent
8bd53dc09f
commit
0a8c322ef8
2 changed files with 25 additions and 13 deletions
|
@ -1838,15 +1838,17 @@ have_sendmail=no
|
|||
if test "x$with_sendmail" != "x" && test "x$with_sendmail" != "xno"; then
|
||||
if test "x$with_sendmail" = "xyes"; then
|
||||
sendmail_path=$PATH:/usr/sbin:/usr/lib
|
||||
AC_DEFINE_UNQUOTED(SENDMAIL, "",
|
||||
[The MTA used by the mail plug-in.])
|
||||
else
|
||||
sendmail_path=$with_sendmail
|
||||
AC_DEFINE_UNQUOTED(SENDMAIL, "$with_sendmail",
|
||||
[The MTA used by the mail plug-in.])
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(SENDMAIL, sendmail, , $sendmail_path)
|
||||
if test "x$SENDMAIL" != "x"; then
|
||||
have_email="yes (sendmail)"
|
||||
AC_DEFINE_UNQUOTED(SENDMAIL, "$SENDMAIL",
|
||||
[The MTA used by the mail plug-in.])
|
||||
else
|
||||
# Not having sendmail at runtime is not a blocker.
|
||||
have_email="needs runtime dependency: sendmail"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue