diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2005-09-19 09:24:42 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2005-09-19 09:24:42 +0000 |
commit | 7faad8a954597c6fc3765703fe4573f0ff81f1ea (patch) | |
tree | 85877e12c5cc80b973380b79c5cb86c226121ffc /configure.ac | |
parent | 2aa92b6fa31f119ed596f824092707c8ff0a8c5e (diff) | |
download | quilt-7faad8a954597c6fc3765703fe4573f0ff81f1ea.tar.gz |
- Fix mta check when sendmail is found.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index d363bab..73408ce 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([quilt],[0.42],[quilt-dev@nongnu.org]) AC_CONFIG_AUX_DIR(config) AC_PREREQ(2.53) -AC_REVISION ($Revision: 1.52 $) +AC_REVISION ($Revision: 1.53 $) PACKAGE_RELEASE=1 AC_SUBST(PACKAGE_RELEASE) @@ -193,8 +193,12 @@ PATH="$PATH:/usr/sbin" QUILT_COMPAT_PROG_PATH(MTA, mta, [sendmail]) PATH=$old_PATH -if ! echo $COMPAT_PROGRAMS $COMPAT_SYMLINKS | grep -q mta; then - COMPAT_PROGRAMS="$COMPAT_PROGRAMS mta" +if test -n "$MTA" ; then + COMPAT_SYMLINKS="$COMPAT_SYMLINKS mta" +else + if ! echo $COMPAT_PROGRAMS $COMPAT_SYMLINKS | grep -q mta; then + COMPAT_PROGRAMS="$COMPAT_PROGRAMS mta" + fi fi AC_ARG_ENABLE(nls, AC_HELP_STRING( |