]>
Commit | Line | Data |
---|---|---|
57e7932e ER |
1 | --- php-7.4.12/build/php.m4~ 2020-11-09 14:38:20.000000000 +0200 |
2 | +++ php-7.4.12/build/php.m4 2020-11-09 14:39:53.522036584 +0200 | |
3 | @@ -1731,8 +1731,10 @@ | |
4 | dnl Search for the sendmail binary. | |
c0240cb1 | 5 | dnl |
6 | AC_DEFUN([PHP_PROG_SENDMAIL], [ | |
7 | - PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib | |
57e7932e | 8 | - AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/sbin/sendmail, $PATH:$PHP_ALT_PATH) |
c0240cb1 | 9 | + if test -z "$PROG_SENDMAIL"; then |
10 | + PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib | |
57e7932e | 11 | + AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/sbin/sendmail, $PATH:$PHP_ALT_PATH) |
c0240cb1 | 12 | + fi |
13 | PHP_SUBST(PROG_SENDMAIL) | |
14 | ]) | |
15 |