From: Sascha Schumann Date: Wed, 31 May 2000 20:44:04 +0000 (+0000) Subject: Make use of already existing macro PHP_PROG_SENDMAIL X-Git-Tag: PRE_EIGHT_BYTE_ALLOC_PATCH~166 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e56dd781a1a7b3511f06c8a019c28823d9585b9;p=php Make use of already existing macro PHP_PROG_SENDMAIL --- diff --git a/acinclude.m4 b/acinclude.m4 index 3305d61069..61c107df7f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -291,7 +291,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, /usr/lib/sendmail, $PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib) if test -n "$PROG_SENDMAIL"; then AC_DEFINE(HAVE_SENDMAIL) fi diff --git a/configure.in b/configure.in index 41f6919537..d535ebe7da 100644 --- a/configure.in +++ b/configure.in @@ -174,10 +174,7 @@ else fi fi -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 +PHP_PROG_SENDMAIL dnl Check whether the system uses EBCDIC (not ASCII) as its native codeset PHP_EBCDIC