From: Sascha Schumann Date: Wed, 21 Feb 2001 07:39:13 +0000 (+0000) Subject: Instead of assuming that sendmail lives in /usr/lib, if we don't find it, X-Git-Tag: php-4.0.5RC1~207 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0656a47f3e2964a7c5bc51bd93cfc1ea9ba68b42;p=php Instead of assuming that sendmail lives in /usr/lib, if we don't find it, we also check /usr/lib now. PR: #9362 --- diff --git a/acinclude.m4 b/acinclude.m4 index 9465e7cd08..ed61e876da 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -387,7 +387,7 @@ AC_DEFUN(PHP_CONFIGURE_PART,[ ]) AC_DEFUN(PHP_PROG_SENDMAIL,[ -AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/lib/sendmail, $PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib) +AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib) if test -n "$PROG_SENDMAIL"; then AC_DEFINE(HAVE_SENDMAIL,1,[whether you have sendmail]) fi