summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-03-31 23:21:41 +0000
committerfoobar <sniper@php.net>2003-03-31 23:21:41 +0000
commitd38d39a46c4172b4af583cf219247cbded945b0d (patch)
tree2d908e812fac41673150fdb0ad0d50dc25119bc3 /acinclude.m4
parente8f13586a7fb3a7cd0ca1e6daf77aa776b4a4798 (diff)
downloadphp-git-d38d39a46c4172b4af583cf219247cbded945b0d.tar.gz
Fixed bug #22989 (sendmail not found by configure)
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 207cacd031..5587aedc39 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -679,7 +679,8 @@ AC_DEFUN([PHP_CONFIGURE_PART],[
])
AC_DEFUN([PHP_PROG_SENDMAIL],[
-AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib)
+PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib
+AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:$PHP_ALT_PATH)
if test -n "$PROG_SENDMAIL"; then
AC_DEFINE(HAVE_SENDMAIL,1,[whether you have sendmail])
fi