summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-31 20:44:04 +0000
committerSascha Schumann <sas@php.net>2000-05-31 20:44:04 +0000
commit1e56dd781a1a7b3511f06c8a019c28823d9585b9 (patch)
tree05060892a659661d036be5c00020ce4197ccee9c
parenta00a1d12eac157905d6f67361814a695687a7d32 (diff)
downloadphp-git-1e56dd781a1a7b3511f06c8a019c28823d9585b9.tar.gz
Make use of already existing macro PHP_PROG_SENDMAIL
-rw-r--r--acinclude.m42
-rw-r--r--configure.in5
2 files changed, 2 insertions, 5 deletions
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