ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
+ --enable-apop enable client-side support for POP3 and APOP"
+ac_help="$ac_help
--enable-debug enable nmh code debugging"
ac_help="$ac_help
--enable-masquerade[='draft_from mmailid username_extension']
ac_help="$ac_help
--enable-mhe enable mhe support (DEFAULT)"
ac_help="$ac_help
- --enable-pop enable client-side support for pop"
-ac_help="$ac_help
- --enable-apop enable client-side support for apop"
+ --enable-pop enable client-side support for plain POP3"
ac_help="$ac_help
--with-hesiod=PREFIX specify location of Hesiod"
ac_help="$ac_help
- --with-krb4=PREFIX specify location of Kerberos V4 for kpop support"
+ --with-krb4=PREFIX specify location of Kerberos V4 for KPOP support"
ac_help="$ac_help
--with-editor=EDITOR specify the default editor"
ac_help="$ac_help
- --with-mts=MTS specify the mail transport agent"
+ --with-mts=MTS specify the mail transport agent/service"
ac_help="$ac_help
--with-pager=PAGER specify the default pager"
ac_help="$ac_help
--with-smtpservers='SMTPSERVER1[ SMTPSERVER2...]'
- specify the default smtp server(s) [localhost]"
+ specify the default SMTP server(s) [localhost]"
ac_default_prefix=/usr/local/nmh
# Initialize some variables set by options.
echo "configuring for nmh-$VERSION"
+# Check whether --enable-apop or --disable-apop was given.
+if test "${enable_apop+set}" = set; then
+ enableval="$enable_apop"
+ :
+fi
+
+if test x"$enable_apop" = x"yes"; then
+ cat >> confdefs.h <<\EOF
+#define APOP 1
+EOF
+ APOPLIB=md5.o
+ enable_pop=yes
+fi
+
# Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then
enableval="$enable_debug"
enable_pop=yes
fi
-# Check whether --enable-apop or --disable-apop was given.
-if test "${enable_apop+set}" = set; then
- enableval="$enable_apop"
- :
-fi
-
-if test x"$enable_apop" = x"yes"; then
- cat >> confdefs.h <<\EOF
-#define APOP 1
-EOF
- APOPLIB=md5.o
- enable_pop=yes
-fi
-
# Check whether --with-hesiod or --without-hesiod was given.
if test "${with_hesiod+set}" = set; then
withval="$with_hesiod"
zotnet/Makefile zotnet/mts/Makefile zotnet/tws/Makefile \
zotnet/mf/Makefile zotnet/bboards/Makefile mts/Makefile \
mts/smtp/Makefile mts/sendmail/Makefile mts/mmdf/Makefile \
- etc/Makefile man/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+ etc/Makefile docs/Makefile man/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
s%@build_vendor@%$build_vendor%g
s%@build_os@%$build_os%g
s%@VERSION@%$VERSION%g
-s%@masquerade@%$masquerade%g
s%@APOPLIB@%$APOPLIB%g
+s%@masquerade@%$masquerade%g
s%@POPLIB@%$POPLIB%g
s%@POPSED@%$POPSED%g
s%@MTS@%$MTS%g
zotnet/Makefile zotnet/mts/Makefile zotnet/tws/Makefile \
zotnet/mf/Makefile zotnet/bboards/Makefile mts/Makefile \
mts/smtp/Makefile mts/sendmail/Makefile mts/mmdf/Makefile \
- etc/Makefile man/Makefile"}
+ etc/Makefile docs/Makefile man/Makefile"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
eval "nmhlib=${libdir}"; eval "nmhlib2=${nmhlib}"
eval "nmhman=${mandir}"
-pop_kinds="no"
+pop_kinds=no
if test x"$enable_pop" = x"yes"; then
- pop_kinds="yes (pop"
- if test x"$enable_apop" = x"yes"; then
- pop_kinds="${pop_kinds} apop"
- fi
- if test x"$with_krb4" = x"yes"; then
- pop_kinds="${pop_kinds} kpop"
- fi
- if test "$pop_kinds" = "yes (pop"; then
- pop_kinds="yes"
- else
- pop_kinds="${pop_kinds})"
- fi
+ pop_kinds="yes ("
+
+ if test x"$enable_apop" = x"yes"; then
+ pop_kinds="${pop_kinds}APOP "
+ fi
+
+ if test x"$with_krb4" != x -a x"$with_krb4" != x"no"; then
+ pop_kinds="${pop_kinds}KPOP "
+ fi
+
+ pop_kinds="${pop_kinds}POP3)"
fi
echo "