summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-05-02 00:03:24 +0000
committerfukachan <fukachan>2004-05-02 00:03:24 +0000
commit32fb49afd2817b4618939b2e5ece499f72521f6d (patch)
tree4d9324a9e0f968d63f48e9e263fb3c321c9bd52b /configure
parent66e8bf457283d5884bb86ced5ba9729f7514b80c (diff)
downloadfml8-32fb49afd2817b4618939b2e5ece499f72521f6d.tar.gz
fml8-32fb49afd2817b4618939b2e5ece499f72521f6d.tar.bz2
fml8-32fb49afd2817b4618939b2e5ece499f72521f6d.zip
regen: probe path of bogofilter and clamsan
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure80
1 files changed, 78 insertions, 2 deletions
diff --git a/configure b/configure
index 697f3e49..dc62f47b 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
-# From configure.in Revision: 1.40
+# From configure.in Revision: 1.41
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
@@ -1884,7 +1884,7 @@ else
fi
-# spam
+# spam filters
# Extract the first word of "spamassassin", so it can be a program name with args.
set dummy spamassassin; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
@@ -1990,6 +1990,80 @@ else
echo "$ac_t""no" 1>&6
fi
+# Extract the first word of "bogofilter", so it can be a program name with args.
+set dummy bogofilter; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:1997: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_path_BOGOFILTER'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ case "$BOGOFILTER" in
+ /*)
+ ac_cv_path_BOGOFILTER="$BOGOFILTER" # Let the user override the test with a path.
+ ;;
+ ?:/*)
+ ac_cv_path_BOGOFILTER="$BOGOFILTER" # Let the user override the test with a dos path.
+ ;;
+ *)
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_path_BOGOFILTER="$ac_dir/$ac_word"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ ;;
+esac
+fi
+BOGOFILTER="$ac_cv_path_BOGOFILTER"
+if test -n "$BOGOFILTER"; then
+ echo "$ac_t""$BOGOFILTER" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+
+# virus checker
+# Extract the first word of "clamscan", so it can be a program name with args.
+set dummy clamscan; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:2034: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_path_CLAMSCAN'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ case "$CLAMSCAN" in
+ /*)
+ ac_cv_path_CLAMSCAN="$CLAMSCAN" # Let the user override the test with a path.
+ ;;
+ ?:/*)
+ ac_cv_path_CLAMSCAN="$CLAMSCAN" # Let the user override the test with a dos path.
+ ;;
+ *)
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_path_CLAMSCAN="$ac_dir/$ac_word"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ ;;
+esac
+fi
+CLAMSCAN="$ac_cv_path_CLAMSCAN"
+if test -n "$CLAMSCAN"; then
+ echo "$ac_t""$CLAMSCAN" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+
+
use_warning=yes
# Check whether --with-warning or --without-warning was given.
@@ -2266,6 +2340,8 @@ s%@W3M@%$W3M%g
s%@SPAMASSASSIN@%$SPAMASSASSIN%g
s%@SPAMD@%$SPAMD%g
s%@SPAMC@%$SPAMC%g
+s%@BOGOFILTER@%$BOGOFILTER%g
+s%@CLAMSCAN@%$CLAMSCAN%g
s%@fmlconfdir@%$fmlconfdir%g
s%@mlspooldir@%$mlspooldir%g
s%@fml_owner@%$fml_owner%g