sniper Mon Mar 31 18:21:42 2003 EDT
Modified files:
/php4 acinclude.m4
Log:
Fixed bug #22989 (sendmail not found by configure)
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.234 php4/acinclude.m4:1.235
--- php4/acinclude.m4:1.234 Fri Mar 28 23:52:46 2003
+++ php4/acinclude.m4 Mon Mar 31 18:21:41 2003
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.234 2003/03/29 04:52:46 sterling Exp $
+dnl $Id: acinclude.m4,v 1.235 2003/03/31 23:21:41 sniper Exp $
dnl
dnl This file contains local autoconf functions.
@@ -679,7 +679,8 @@
])
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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php