]> diplodocus.org Git - nmh/commitdiff
Changed build_nmh sasl and tls defaults to be configure's.
authorDavid Levine <levinedl@acm.org>
Mon, 24 Oct 2016 23:01:14 +0000 (19:01 -0400)
committerDavid Levine <levinedl@acm.org>
Mon, 24 Oct 2016 23:01:28 +0000 (19:01 -0400)
docs/contrib/build_nmh

index 6c90d66..2d0fe3e 100755 (executable)
@@ -188,8 +188,8 @@ config_prefix=/usr/local/nmh
 config_locking=
 config_mts=smtp
 config_smtpservers=localhost
-config_sasl=n
-config_tls=n
+config_sasl='determined by configure'
+config_tls='determined by configure'
 config_debug=n
 
 
@@ -235,7 +235,7 @@ if install-mh -check >/dev/null 2>&1; then
     else
       tput smso
       echo "$0: SASL and TLS detection not supported with current nmh"
-      [ $yes -eq 1 ]  &&  echo "will not configure them in"
+      [ $yes -eq 1 ]  &&  echo "configure will determine whether to enable"
       tput rmso
     fi
   fi
@@ -264,11 +264,11 @@ if [ $yes -eq 0 ]; then
     [ "$servers" ]  &&  config_smtpservers="$servers"
   fi
 
-  printf 'Cyrus SASL support [%s]: ' $config_sasl >&3
+  printf 'Cyrus SASL support [%s]: ' "$config_sasl" >&3
   read response
   [ "$response" = y  -o  "$response" = Y ]  &&  config_sasl=y
 
-  printf 'TLS support [%s]: ' $config_tls >&3
+  printf 'TLS support [%s]: ' "$config_tls" >&3
   read response
   [ "$response" = y  -o  "$response" = Y ]  &&  config_tls=y