Skip to content

Commit

Permalink
build: remove --enable-mailtool configure option
Browse files Browse the repository at this point in the history
Leave the code enabled, but hide the option.
The feature may be useful to someone.
The code isn't complicated or risky.
  • Loading branch information
toogley authored and flatcap committed May 18, 2017
1 parent 56fc71c commit 1f286d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 1 addition & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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"], [
Expand Down Expand Up @@ -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. ])
Expand Down
2 changes: 0 additions & 2 deletions version.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 1f286d2

Please sign in to comment.