1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

build: Fix SENDMAIL define for a PATH with spaces.

* configure.ac: Fix use of $PATH

(cherry picked from commit 77e416741abb0a871733bd46cbc81329859de96e)
This commit is contained in:
Werner Koch 2020-10-04 20:47:13 +02:00
parent 4747b9e868
commit 6c36b8bb23
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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)