diff options
| author | fukachan <fukachan> | 2001-12-11 13:12:16 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-12-11 13:12:16 +0000 |
| commit | edba757ae8992bdb4c1aaecdb4c3957c91f0f6ac (patch) | |
| tree | 4e24a0f01d9d89933ade95c23152ea40952a4bab | |
| parent | 5a3f3447b47d595f2d6beab7a9d32321571ad638 (diff) | |
| download | fml8-edba757ae8992bdb4c1aaecdb4c3957c91f0f6ac.tar.gz fml8-edba757ae8992bdb4c1aaecdb4c3957c91f0f6ac.tar.bz2 fml8-edba757ae8992bdb4c1aaecdb4c3957c91f0f6ac.zip | |
enable --with-fmlconfdir=$prefix/etc/fml
| -rwxr-xr-x | config.sh.in | 4 | ||||
| -rwxr-xr-x | configure | 65 | ||||
| -rw-r--r-- | configure.in | 9 |
3 files changed, 49 insertions, 29 deletions
diff --git a/config.sh.in b/config.sh.in index 662aa0ed..ea88dd3e 100755 --- a/config.sh.in +++ b/config.sh.in @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: config.sh.in,v 1.4 2001/11/27 03:53:56 fukachan Exp $ +# $FML: config.sh.in,v 1.5 2001/12/11 12:13:48 fukachan Exp $ # @@ -21,7 +21,7 @@ exec_prefix=@exec_prefix@ bindir=@bindir@ mandir=@mandir@ -config_dir=@sysconfdir@/fml +config_dir=@fmlconfdir@ libexec_dir=@libexecdir@/fml lib_dir=@libdir@/fml @@ -1,6 +1,6 @@ #! /bin/sh -# From configure.in Revision: 1.7 +# From configure.in Revision: 1.8 # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 @@ -14,6 +14,8 @@ ac_help= ac_default_prefix=/usr/local # Any additions from configure.in: ac_help="$ac_help + --with-fmlconfdir=DIR use DIR instead of SYSCONFDIR/etc/fml" +ac_help="$ac_help --with-mlspooldir=DIR use DIR instead of /var/spool/ml" ac_help="$ac_help --with-fml-owner=USER use USER instead of fml" @@ -540,7 +542,7 @@ 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:544: checking for $ac_word" >&5 +echo "configure:546: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_have_perl'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -575,7 +577,7 @@ fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:579: checking for $ac_word" >&5 +echo "configure:581: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -613,7 +615,7 @@ echo "$ac_t""checking whether optional useful commands are available" 1>&6 # Extract the first word of "cksum", so it can be a program name with args. set dummy cksum; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:617: checking for $ac_word" >&5 +echo "configure:619: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CKSUM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -648,7 +650,7 @@ fi # Extract the first word of "md5", so it can be a program name with args. set dummy md5; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:652: checking for $ac_word" >&5 +echo "configure:654: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MD5'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -684,7 +686,7 @@ fi # Extract the first word of "tar", so it can be a program name with args. set dummy tar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:688: checking for $ac_word" >&5 +echo "configure:690: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_TAR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -719,7 +721,7 @@ fi # Extract the first word of "gzip", so it can be a program name with args. set dummy gzip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:723: checking for $ac_word" >&5 +echo "configure:725: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GZIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -754,7 +756,7 @@ fi # Extract the first word of "zcat", so it can be a program name with args. set dummy zcat; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:758: checking for $ac_word" >&5 +echo "configure:760: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_ZCAT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -789,7 +791,7 @@ fi # Extract the first word of "gunzip", so it can be a program name with args. set dummy gunzip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:793: checking for $ac_word" >&5 +echo "configure:795: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GUNZIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -824,7 +826,7 @@ fi # Extract the first word of "lha", so it can be a program name with args. set dummy lha; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:828: checking for $ac_word" >&5 +echo "configure:830: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_LHA'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -859,7 +861,7 @@ fi # Extract the first word of "ish", so it can be a program name with args. set dummy ish; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:863: checking for $ac_word" >&5 +echo "configure:865: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_ISH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -894,7 +896,7 @@ fi # Extract the first word of "bzip2", so it can be a program name with args. set dummy bzip2; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:898: checking for $ac_word" >&5 +echo "configure:900: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_BZIP2'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -929,7 +931,7 @@ fi # Extract the first word of "bunzip2", so it can be a program name with args. set dummy bunzip2; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:933: checking for $ac_word" >&5 +echo "configure:935: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_BUNZIP2'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -964,7 +966,7 @@ fi # Extract the first word of "uuencode", so it can be a program name with args. set dummy uuencode; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:968: checking for $ac_word" >&5 +echo "configure:970: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_UUENCODE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -999,7 +1001,7 @@ fi # Extract the first word of "compress", so it can be a program name with args. set dummy compress; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1003: checking for $ac_word" >&5 +echo "configure:1005: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_COMPRESS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1035,7 +1037,7 @@ fi # Extract the first word of "sendmail", so it can be a program name with args. set dummy sendmail; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1039: checking for $ac_word" >&5 +echo "configure:1041: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_SENDMAIL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1071,7 +1073,7 @@ fi # Extract the first word of "nkf", so it can be a program name with args. set dummy nkf; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1075: checking for $ac_word" >&5 +echo "configure:1077: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_NKF'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1106,7 +1108,7 @@ fi # Extract the first word of "kakasi", so it can be a program name with args. set dummy kakasi; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1110: checking for $ac_word" >&5 +echo "configure:1112: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_KAKASI'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1141,7 +1143,7 @@ fi # Extract the first word of "namazu", so it can be a program name with args. set dummy namazu; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1145: checking for $ac_word" >&5 +echo "configure:1147: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_NAMAZU'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1177,7 +1179,7 @@ fi # Extract the first word of "pgp", so it can be a program name with args. set dummy pgp; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1181: checking for $ac_word" >&5 +echo "configure:1183: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PGP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1212,7 +1214,7 @@ fi # Extract the first word of "pgp5", so it can be a program name with args. set dummy pgp5; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1216: checking for $ac_word" >&5 +echo "configure:1218: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PGP5'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1247,7 +1249,7 @@ fi # Extract the first word of "pgpe", so it can be a program name with args. set dummy pgpe; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1251: checking for $ac_word" >&5 +echo "configure:1253: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PGPe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1282,7 +1284,7 @@ fi # Extract the first word of "pgpk", so it can be a program name with args. set dummy pgpk; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1286: checking for $ac_word" >&5 +echo "configure:1288: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PGPK'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1317,7 +1319,7 @@ fi # Extract the first word of "pgps", so it can be a program name with args. set dummy pgps; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1321: checking for $ac_word" >&5 +echo "configure:1323: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PGPS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1352,7 +1354,7 @@ fi # Extract the first word of "pgpv", so it can be a program name with args. set dummy pgpv; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1356: checking for $ac_word" >&5 +echo "configure:1358: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PGPV'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1387,7 +1389,7 @@ fi # Extract the first word of "gpg", so it can be a program name with args. set dummy gpg; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1391: checking for $ac_word" >&5 +echo "configure:1393: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GPG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1421,6 +1423,16 @@ fi +fmlconfdir=${sysconfdir}/fml +# Check whether --with-fmlconfdir or --without-fmlconfdir was given. +if test "${with_fmlconfdir+set}" = set; then + withval="$with_fmlconfdir" + fmlconfdir=$withval +fi + + + + mlspooldir=/var/spool/ml # Check whether --with-mlspooldir or --without-mlspooldir was given. if test "${with_mlspooldir+set}" = set; then @@ -1633,6 +1645,7 @@ s%@PGPK@%$PGPK%g s%@PGPS@%$PGPS%g s%@PGPV@%$PGPV%g s%@GPG@%$GPG%g +s%@fmlconfdir@%$fmlconfdir%g s%@mlspooldir@%$mlspooldir%g s%@fml_owner@%$fml_owner%g s%@fml_group@%$fml_group%g diff --git a/configure.in b/configure.in index 139f1015..f68482b8 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl -dnl $FML: configure.in,v 1.7 2001/11/27 09:31:38 fukachan Exp $ +dnl $FML: configure.in,v 1.8 2001/12/11 12:13:48 fukachan Exp $ dnl AC_REVISION($Revision$) @@ -52,6 +52,13 @@ AC_PATH_PROG(GPG, gpg) dnl path_check_end +fmlconfdir=${sysconfdir}/fml +AC_ARG_WITH(fmlconfdir, +[ --with-fmlconfdir=DIR use DIR instead of SYSCONFDIR/etc/fml], + fmlconfdir=$withval) +AC_SUBST(fmlconfdir) + + mlspooldir=/var/spool/ml AC_ARG_WITH(mlspooldir, [ --with-mlspooldir=DIR use DIR instead of /var/spool/ml], |
