X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1ea2cf126ad9ba559ceb8f4790254ea01d1721c2..e7f01acdf3b43d7e5df6398b0652c3be38b5f68f:/configure diff --git a/configure b/configure index 520d155d..c8ebc1c5 100755 --- a/configure +++ b/configure @@ -15,8 +15,6 @@ 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 - --with-hash-backup use # as the backup prefix (default: ,)" ac_help="$ac_help --enable-masquerade[='draft_from mmailid username_extension'] enable up to 3 types of address masquerading [none]" @@ -25,13 +23,15 @@ ac_help="$ac_help ac_help="$ac_help --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-cyrus-sasl= Specify location of Cyrus SASL library for auth" ac_help="$ac_help --with-editor=EDITOR specify the default editor" ac_help="$ac_help - --with-cyrus-sasl= Specify location of Cyrus SASL library for auth" + --with-hash-backup use # as the backup prefix (default: ,)" +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" ac_help="$ac_help --with-mts=MTS specify the default mail transport agent/service" ac_help="$ac_help @@ -693,21 +693,6 @@ if test x"$enable_nmh_debug" = x"yes"; then enable_debug=yes fi -# Check whether --with-hash-backup or --without-hash-backup was given. -if test "${with_hash_backup+set}" = set; then - withval="$with_hash_backup" - : -fi - -if test x"$with_hash_backup" != x -a x"$with_hash_backup" != x"no"; then - backup_prefix="#" -else - backup_prefix="," -fi -cat >> confdefs.h <> confdefs.h <<\EOF +#define CYRUS_SASL 1 +EOF +fi + +# Check whether --with-editor or --without-editor was given. +if test "${with_editor+set}" = set; then + withval="$with_editor" + : +fi + + +if test -n "$with_editor"; then + editorpath="$with_editor" +fi + +# Check whether --with-hash-backup or --without-hash-backup was given. +if test "${with_hash_backup+set}" = set; then + withval="$with_hash_backup" + : +fi + +if test x"$with_hash_backup" != x -a x"$with_hash_backup" != x"no"; then + backup_prefix="#" +else + backup_prefix="," +fi +cat >> confdefs.h <> confdefs.h <<\EOF -#define CYRUS_SASL 1 -EOF -fi - # Check whether --with-mts or --without-mts was given. if test "${with_mts+set}" = set; then withval="$with_mts"