cvs: php4(PHP_4_3) / acinclude.m4
| From: | Jani Taskinen | Date: | Mon, 31 Mar 2003 23:21:56 +0000 |
| Subject: | cvs: php4(PHP_4_3) / acinclude.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19895@lists.php.net to get a copy of this message | ||
sniper Mon Mar 31 18:21:56 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4 acinclude.m4
Log:
MFH: Fixed bug #22989 (sendmail not found by configure)
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.218.2.12 php4/acinclude.m4:1.218.2.13
--- php4/acinclude.m4:1.218.2.12 Tue Mar 25 08:43:56 2003
+++ php4/acinclude.m4 Mon Mar 31 18:21:56 2003
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.218.2.12 2003/03/25 13:43:56 sniper Exp $
+dnl $Id: acinclude.m4,v 1.218.2.13 2003/03/31 23:21:56 sniper Exp $
dnl
dnl This file contains local autoconf functions.
@@ -686,7 +686,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