Bug #4236: configure doesn't find sendmail unless it is in $PATH

From: Date: Tue, 25 Apr 2000 16:48:46 +0000
Subject: Bug #4236: configure doesn't find sendmail unless it is in $PATH
Groups: php.dev 
Request: Send a blank email to php-dev+get-18186@lists.php.net to get a copy of this message
From: bad@oreilly.de Operating system: NetBSD PHP version: 3.0.16 PHP Bug Type: Installation problem Bug description: configure doesn't find sendmail unless it is in $PATH 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

« previous php.dev (#18186) next »