]>
Commit | Line | Data |
---|---|---|
c0240cb1 | 1 | --- php-5.2.6/acinclude.m4~ 2008-10-15 13:44:25.000000000 +0300 |
2 | +++ php-5.2.6/acinclude.m4 2008-10-15 13:55:05.359850285 +0300 | |
3 | @@ -2037,8 +2037,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,[], $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,[], $PATH:$PHP_ALT_PATH) | |
12 | + fi | |
13 | PHP_SUBST(PROG_SENDMAIL) | |
14 | ]) | |
15 |