Don't try to look for the formail program, since it may fail if

procmail is not present.

Submitted by:	Brett Taylor <brett@peloton.physics.montana.edu>
This commit is contained in:
Steve Price 1998-02-26 03:35:10 +00:00
parent 833074ad38
commit 82d4086201
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9939
2 changed files with 66 additions and 6 deletions

View File

@ -1,7 +1,7 @@
*** Modules/procmail/configure.in.orig Sat Feb 21 15:20:04 1998 *** Modules/procmail/configure.in.orig Sun Dec 21 07:40:33 1997
--- Modules/procmail/configure.in Sat Feb 21 15:20:19 1998 --- Modules/procmail/configure.in Wed Feb 25 17:24:18 1998
*************** ***************
*** 13,19 **** *** 13,27 ****
echo "----------------------------------------------------------------------" echo "----------------------------------------------------------------------"
@ -9,7 +9,15 @@
if test "$TCLSH" = no; then if test "$TCLSH" = no; then
AC_MSG_ERROR(I couldn't find 'tclsh' please insert it into your pa AC_MSG_ERROR(I couldn't find 'tclsh' please insert it into your pa
th and try again) th and try again)
--- 13,19 ---- - fi
-
- AC_PATH_PROGS(FORMAIL, formail,)
- if test "$FORMAIL" = ""; then
- AC_MSG_ERROR(I couldn't find the program formail, it should be in the procmail distribution. Please insert it into the path.)
fi
AC_PATH_PROGS(SED,sed,)
--- 13,22 ----
echo "----------------------------------------------------------------------" echo "----------------------------------------------------------------------"
@ -17,3 +25,6 @@
if test "$TCLSH" = no; then if test "$TCLSH" = no; then
AC_MSG_ERROR(I couldn't find 'tclsh' please insert it into your pa AC_MSG_ERROR(I couldn't find 'tclsh' please insert it into your pa
th and try again) th and try again)
fi
AC_PATH_PROGS(SED,sed,)

View File

@ -1,5 +1,5 @@
*** Modules/procmail/configure.orig Sun Dec 21 06:40:33 1997 *** Modules/procmail/configure.orig Sun Dec 21 07:40:33 1997
--- Modules/procmail/configure Sun Feb 22 18:11:20 1998 --- Modules/procmail/configure Wed Feb 25 17:27:59 1998
*************** ***************
*** 519,537 **** *** 519,537 ****
@ -29,3 +29,52 @@
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
***************
*** 571,616 ****
if test "$TCLSH" = no; then
{ echo "configure: error: I couldn't find 'tclsh' please insert it into your pa
th and try again" 1>&2; exit 1; }
- fi
-
- for ac_prog in formail
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
- echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- echo "configure:582: checking for $ac_word" >&5
- if eval "test \"`echo '$''{'ac_cv_path_FORMAIL'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- case "$FORMAIL" in
- /*)
- ac_cv_path_FORMAIL="$FORMAIL" # Let the user override the test with a path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_FORMAIL="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- ;;
- esac
- fi
- FORMAIL="$ac_cv_path_FORMAIL"
- if test -n "$FORMAIL"; then
- echo "$ac_t""$FORMAIL" 1>&6
- else
- echo "$ac_t""no" 1>&6
- fi
-
- test -n "$FORMAIL" && break
- done
-
- if test "$FORMAIL" = ""; then
- { echo "configure: error: I couldn't find the program formail" 1>&2; exit 1; }
fi
for ac_prog in sed
--- 559,564 ----