]> granicus.if.org Git - neomutt/commitdiff
build: remove --enable-mailtool configure option 557/head
authortoogley <toogley@mailbox.org>
Fri, 28 Apr 2017 13:21:59 +0000 (15:21 +0200)
committerRichard Russon <rich@flatcap.org>
Thu, 18 May 2017 12:00:03 +0000 (13:00 +0100)
Leave the code enabled, but hide the option.
The feature may be useful to someone.
The code isn't complicated or risky.

configure.ac
version.c

index 553ca34ec02d445809cbab090a4e9609631ea3ca..910bff4dcaa275c5fda03a34c28a3625c3dc6fa4 100644 (file)
@@ -221,6 +221,7 @@ AC_DEFINE(USE_SIDEBAR, 1, [Define if you want support for the sidebar.])
 AC_DEFINE(USE_SMTP, 1, [Include internal SMTP relay support])
 AC_DEFINE(USE_SOCKET,1,
        [ Include code for socket support. Set automatically if you enable POP3 or IMAP ])
+AC_DEFINE(SUN_ATTACHMENT,1,[ Define to enable Sun mailtool attachments support. ])
 
 dnl --enable-lua
 AS_IF([test x$use_lua = "xyes"], [
@@ -637,11 +638,6 @@ AC_ARG_ENABLE(nfs-fix, AS_HELP_STRING([--enable-nfs-fix],[Work around an NFS wit
                        incorrectly cache the attributes of small files.])
        fi])
 
-AC_ARG_ENABLE(mailtool, AS_HELP_STRING([--enable-mailtool],[Enable Sun mailtool attachments support]),
-       [if test x$enableval = xyes; then
-               AC_DEFINE(SUN_ATTACHMENT,1,[ Define to enable Sun mailtool attachments support. ])
-       fi])
-
 AC_ARG_ENABLE(locales-fix, AS_HELP_STRING([--enable-locales-fix],[The result of isprint() is unreliable]),
        [if test x$enableval = xyes; then
                AC_DEFINE(LOCALES_HACK,1,[ Define if the result of isprint() is unreliable. ])
index c1645fbea03e4f50b11625265cece828abb0ca74..1984a43404d3d975024d30cf9bf962f5214dcef3 100644 (file)
--- a/version.c
+++ b/version.c
@@ -282,8 +282,6 @@ static struct compile_options comp_opts[] = {
   { "status_color", 1 },
 #ifdef SUN_ATTACHMENT
   { "sun_attachment", 1 },
-#else
-  { "sun_attachment", 0 },
 #endif
   { "timeout", 1 },
   { "tls_sni", 1 },