Skip to content
Snippets Groups Projects
Commit 6869efa5 authored by Karl Fleischmann's avatar Karl Fleischmann
Browse files

configure: Update m4 syntax

This commit simplifies the help-string definitions and makes them more
consistent with the upstream configuration of the dovecot/core project.
parent eb8bdf52
No related branches found
No related tags found
No related merge requests found
...@@ -62,14 +62,9 @@ AC_SUBST(sieve_docdir) ...@@ -62,14 +62,9 @@ AC_SUBST(sieve_docdir)
# #
AC_ARG_WITH(unfinished-features, AC_ARG_WITH(unfinished-features,
[AS_HELP_STRING([--with-unfinished-features], AS_HELP_STRING([--with-unfinished-features], [Build unfinished new features/extensions (default=no)]),
[Build unfinished new features/extensions [default=no]])], TEST_WITH(unfinished_features, $withval),
if test x$withval = xno || test x$withval = xauto; then want_unfinished_features=no)
want_unfinished_features=$withval
else
want_unfinished_features=yes
fi,
want_unfinished_features=no)
AM_CONDITIONAL(BUILD_UNFINISHED, test "$want_unfinished_features" = "yes") AM_CONDITIONAL(BUILD_UNFINISHED, test "$want_unfinished_features" = "yes")
if test "$want_unfinished_features" = "yes"; then if test "$want_unfinished_features" = "yes"; then
...@@ -78,28 +73,19 @@ if test "$want_unfinished_features" = "yes"; then ...@@ -78,28 +73,19 @@ if test "$want_unfinished_features" = "yes"; then
fi fi
AC_ARG_WITH(docs, AC_ARG_WITH(docs,
[ --with-docs Install documentation (default)], AS_HELP_STRING([--with-docs], [Install documentation (default=yes)]),
if test x$withval = xno; then TEST_WITH(docs, $withval),
want_docs=no want_docs=yes)
else
want_docs=yes
fi,
want_docs=yes)
AM_CONDITIONAL(BUILD_DOCS, test "$want_docs" = "yes") AM_CONDITIONAL(BUILD_DOCS, test "$want_docs" = "yes")
AC_ARG_WITH(managesieve, AC_ARG_WITH(managesieve,
[AS_HELP_STRING([--with-managesieve], AS_HELP_STRING([--with-managesieve], [Build ManageSieve service (default=yes)]),
[Build ManageSieve service [default=yes]])], TEST_WITH(managesieve, $withval),
if test x$withval = xno || test x$withval = xauto; then want_managesieve=yes)
want_managesieve=$withval
else
want_managesieve=yes
fi,
want_managesieve=yes)
AM_CONDITIONAL(BUILD_MANAGESIEVE, test "$want_managesieve" = "yes") AM_CONDITIONAL(BUILD_MANAGESIEVE, test "$want_managesieve" = "yes")
AC_ARG_WITH(ldap, AC_ARG_WITH(ldap,
AS_HELP_STRING([--with-ldap=yes|plugin], [Build with LDAP support]), AS_HELP_STRING([--with-ldap=yes|plugin], [Build with LDAP support (default=no)]),
TEST_WITH(ldap, $withval, plugin), TEST_WITH(ldap, $withval, plugin),
want_ldap=no) want_ldap=no)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.