diff options
author | Werner Koch <wk@gnupg.org> | 2020-10-04 20:47:13 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-10-04 20:48:35 +0200 |
commit | 6c36b8bb23bb033aaae5f1dff3b38d8e0e44717c (patch) | |
tree | 4ccb67b56b45ff41afc6c32fef483ccc9817aaec /configure.ac | |
parent | tests: Improve handling of spaces in $PATH (diff) | |
download | gnupg2-6c36b8bb23bb033aaae5f1dff3b38d8e0e44717c.tar.xz gnupg2-6c36b8bb23bb033aaae5f1dff3b38d8e0e44717c.zip |
build: Fix SENDMAIL define for a PATH with spaces.
* configure.ac: Fix use of $PATH
(cherry picked from commit 77e416741abb0a871733bd46cbc81329859de96e)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b76f18264..14086b389 100644 --- a/configure.ac +++ b/configure.ac @@ -1247,7 +1247,7 @@ AC_ARG_WITH(mailprog, [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) + 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) |