cvs: php4 / acinclude.m4 configure.in

[email protected] ("Sascha Schumann") Wed, 31 May 2000 20:44:04 -0000
Newsgroups php.version4
Message-ID <cvssas959805844@cvsserver>
sas		Wed May 31 13:44:04 2000 EDT

  Modified files:
    /php4	acinclude.m4 configure.in 
  Log:
  Make use of already existing macro PHP_PROG_SENDMAIL
  
  
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.91 php4/acinclude.m4:1.92
--- php4/acinclude.m4:1.91	Wed May 31 13:30:16 2000
+++ php4/acinclude.m4	Wed May 31 13:44:04 2000
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.91 2000/05/31 20:30:16 sas Exp $
+dnl $Id: acinclude.m4,v 1.92 2000/05/31 20:44:04 sas Exp $
 dnl
 dnl This file contains local autoconf functions.
 
@@ -291,7 +291,7 @@
 ])
 
 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
Index: php4/configure.in
diff -u php4/configure.in:1.137 php4/configure.in:1.138
--- php4/configure.in:1.137	Sun May 28 10:36:40 2000
+++ php4/configure.in	Wed May 31 13:44:04 2000
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.137 2000/05/28 17:36:40 andi Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.138 2000/05/31 20:44:04 sas Exp $ -*- sh -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -174,10 +174,7 @@
 	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