# -l <logfile name>, default 'build_nmh.log', - for stdout/stderr
# Advanced/developer use:
# -c to run 'make distcheck' instead of 'make check'
-# -d to build nmh with asserts enabled and optimization disabled
+# -d to build nmh with optimization disabled
# -s to use 'make superclean': requires recent autoconf and automake,
# see docs/README.developers
# -r to build rpm
usage="usage:
[-b <branch>, only if downloading]
[-c to run 'make distcheck' instead of 'make check']
- [-d to build nmh with asserts enabled and optimization disabled]
+ [-d to build nmh with optimization disabled]
[-i to install nmh]
[-l <logfile name>, default '$logfile']
[-r to build rpm]
fi
fi
- if test -x "$mhbin/mhparam"; then
+ if test $yes -eq 1 -a -x "$mhbin/mhparam"; then
if mhparam sasl >/dev/null; then
case `$mhbin/mhparam sasl` in
*sasl*) config_sasl=y ;;
config_opts="$config_opts --with-mts=$config_mts"
[ "$config_smtpserver" -a "$config_smtpserver" != localhost ] &&
config_opts="$config_opts --with-smtpserver=$config_smtpserver"
-[ "$config_sasl" = y ] && config_opts="$config_opts --with-cyrus-sasl"
-[ "$config_tls" = y ] && config_opts="$config_opts --with-tls"
-[ $config_debug = y ] && config_opts="$config_opts --enable-assert"
+if [ "$config_sasl" = y ]; then
+ config_opts="$config_opts --with-cyrus-sasl"
+elif [ "$config_sasl" != 'determined by configure' ]; then
+ config_opts="$config_opts --with-cyrus-sasl=no"
+fi
+if [ "$config_tls" = y ]; then
+ config_opts="$config_opts --with-tls"
+elif [ "$config_tls" != 'determined by configure' ]; then
+ config_opts="$config_opts --with-tls=no"
+fi
#### dotlocking, the usual default, requires chgrp and chmod of inc.
installpriv=