#4236 [Opn->]: configure doesn't find sendmail unless it is in $PATH
| From: | hholzgra@php.net | Date: | Tue, 01 Oct 2002 19:50:58 +0000 |
| Subject: | #4236 [Opn->]: configure doesn't find sendmail unless it is in $PATH | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21096@lists.php.net to get a copy of this message | ||
ID: 4236
Updated by: hholzgra@php.net
Reported By: bad@oreilly.de
-Status: Open
+Status: Won\'t fix
Bug Type: Installation problem
Operating System: NetBSD
PHP Version: 3.0.16
New Comment:
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.
fixed in php 4
Previous Comments:
------------------------------------------------------------------------
[2000-04-25 12:46:56] bad@oreilly.de
AC_PATH_PROG splits the last argument on ":" not on spaces.
The following patch needs to be applied.
(Why one wants to pick up a random sendmail file in the users PATH, is
beyond me, though.)
--- configure.in.orig Mon Apr 3 20:24:29 2000
+++ configure.in Tue Apr 25 18:20:18 2000
@@ -106,7 +106,7 @@
AC_CHECK_SIZEOF(int, 4)
dnl AC_PROG_INSTALL
-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, /usr/lib/sendmail,
$PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib)
if test -n "$PROG_SENDMAIL"; then
AC_DEFINE(HAVE_SENDMAIL)
fi
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=4236&edit=1