From 6c36b8bb23bb033aaae5f1dff3b38d8e0e44717c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 4 Oct 2020 20:47:13 +0200 Subject: [PATCH] build: Fix SENDMAIL define for a PATH with spaces. * configure.ac: Fix use of $PATH (cherry picked from commit 77e416741abb0a871733bd46cbc81329859de96e) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)