1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

build: Fix SENDMAIL define for a PATH with spaces.

* configure.ac: Fix use of $PATH
This commit is contained in:
Werner Koch 2020-10-04 20:47:13 +02:00
parent c81f02c959
commit 77e416741a
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -1224,7 +1224,7 @@ AC_ARG_WITH(mailprog,
[use "NAME -t" for mail transport]), [use "NAME -t" for mail transport]),
,with_mailprog=yes) ,with_mailprog=yes)
if test x"$with_mailprog" = xyes ; then 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 elif test x"$with_mailprog" != xno ; then
AC_MSG_CHECKING([for a mail transport program]) AC_MSG_CHECKING([for a mail transport program])
AC_SUBST(SENDMAIL,$with_mailprog) AC_SUBST(SENDMAIL,$with_mailprog)