]> TLD Linux GIT Repositories - packages/php.git/blob - php-use-prog_sendmail.patch
- updated to 7.3.33
[packages/php.git] / php-use-prog_sendmail.patch
1 --- php-7.3.19/acinclude.m4.orig        2020-06-26 16:36:23.693451000 +0200
2 +++ php-7.3.19/acinclude.m4     2020-06-26 16:39:27.844451000 +0200
3 @@ -2083,8 +2083,10 @@
4  dnl Search for the sendmail binary
5  dnl
6  AC_DEFUN([PHP_PROG_SENDMAIL], [
7 -  PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib
8 -  AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/sbin/sendmail, $PATH:$PHP_ALT_PATH)
9 +  if test -z "$PROG_SENDMAIL"; then
10 +    PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib
11 +    AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/sbin/sendmail, $PATH:$PHP_ALT_PATH)
12 +  fi
13    PHP_SUBST(PROG_SENDMAIL)
14  ])
15