1 --- php-7.4.7/build/php.m4.orig 2020-06-26 16:43:50.784451000 +0200
2 +++ php-7.4.7/build/php.m4 2020-06-26 16:45:13.716451000 +0200
4 dnl Search for the sendmail binary.
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)
13 PHP_SUBST(PROG_SENDMAIL)