]>
Commit | Line | Data |
---|---|---|
1 | --- php-8.0.0rc1/build/php.m4~ 2020-10-09 18:56:11.000000000 +0300 | |
2 | +++ php-8.0.0rc1/build/php.m4 2020-10-09 18:58:11.039360902 +0300 | |
3 | @@ -1710,8 +1710,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 |