php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4236 configure doesn't find sendmail unless it is in $PATH
Submitted: 2000-04-25 12:46 UTC Modified: 2002-10-01 14:50 UTC
From: bad at oreilly dot de Assigned:
Status: Wont fix Package: Installation problem
PHP Version: 3.0.16 OS: NetBSD
Private report: No CVE-ID: None
 [2000-04-25 12:46 UTC] bad at oreilly dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 14:50 UTC] hholzgra@php.net
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 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 30 22:01:28 2024 UTC