]> git.pld-linux.org Git - packages/php.git/commitdiff
- if $PROG_SENDMAIL is set, use it, don't even attempt to find it from $PATH
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 15 Oct 2008 10:56:05 +0000 (10:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-use-prog_sendmail.patch -> 1.1

php-use-prog_sendmail.patch [new file with mode: 0644]

diff --git a/php-use-prog_sendmail.patch b/php-use-prog_sendmail.patch
new file mode 100644 (file)
index 0000000..5f4af4e
--- /dev/null
@@ -0,0 +1,15 @@
+--- php-5.2.6/acinclude.m4~    2008-10-15 13:44:25.000000000 +0300
++++ php-5.2.6/acinclude.m4     2008-10-15 13:55:05.359850285 +0300
+@@ -2037,8 +2037,10 @@
+ dnl Search for the sendmail binary
+ dnl
+ AC_DEFUN([PHP_PROG_SENDMAIL], [
+-  PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib
+-  AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:$PHP_ALT_PATH)
++  if test -z "$PROG_SENDMAIL"; then
++    PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib
++    AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:$PHP_ALT_PATH)
++  fi
+   PHP_SUBST(PROG_SENDMAIL)
+ ])
This page took 0.682754 seconds and 4 git commands to generate.