]> granicus.if.org Git - php/commitdiff
Fixed bug #22989 (sendmail not found by configure)
authorfoobar <sniper@php.net>
Mon, 31 Mar 2003 23:21:41 +0000 (23:21 +0000)
committerfoobar <sniper@php.net>
Mon, 31 Mar 2003 23:21:41 +0000 (23:21 +0000)
acinclude.m4

index 207cacd031053b9947f9e059e039edb05479bedf..5587aedc3916fbb1f7cabebb785d55e7e97ff1d3 100644 (file)
@@ -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