Changeset 3921:500373828600
- Timestamp:
- 2005-02-12 16:25:37 (4 years ago)
- Author:
- Brendan Cully <brendan@…>
- Branch:
- HEAD
- Message:
-
Use AC_HELP_STRING to pretty print configure --help screen, with mixed results.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r3911
|
r3921
|
|
| 94 | 94 | SUBVERSION="i" |
| 95 | 95 | |
| 96 | | AC_ARG_ENABLE(gpgme, [ --enable-gpgme Enable GPGME support], |
| | 96 | AC_ARG_ENABLE(gpgme, AC_HELP_STRING([--enable-gpgme], [Enable GPGME support]), |
| 97 | 97 | [ if test x$enableval = xyes; then |
| 98 | 98 | have_gpgme=yes |
| 99 | 99 | fi |
| 100 | 100 | ]) |
| 101 | | AC_ARG_WITH(gpgme-prefix, [ --with-gpgme-prefix=PFX prefix where GPGME is installed (optional)], |
| | 101 | AC_ARG_WITH(gpgme-prefix, AC_HELP_STRING([--with-gpgme-prefix=PFX], [prefix where GPGME is installed (optional)]), |
| 102 | 102 | gpgme_config_prefix="$withval", gpgme_config_prefix="") |
| 103 | 103 | |
| … |
… |
|
| 121 | 121 | AC_SUBST(LIBGPGME_LIBS) |
| 122 | 122 | |
| 123 | | AC_ARG_ENABLE(pgp, [ --disable-pgp Disable PGP support], |
| | 123 | AC_ARG_ENABLE(pgp, AC_HELP_STRING([--disable-pgp], [Disable PGP support]), |
| 124 | 124 | [ if test x$enableval = xno ; then |
| 125 | 125 | have_pgp=no |
| … |
… |
|
| 134 | 134 | fi |
| 135 | 135 | |
| 136 | | AC_ARG_ENABLE(smime, [ --disable-smime Disable SMIME support], |
| | 136 | AC_ARG_ENABLE(smime, AC_HELP_STRING([--disable-smime], [Disable SMIME support]), |
| 137 | 137 | [ if test x$enableval = xno ; then |
| 138 | 138 | have_smime=no |
| … |
… |
|
| 147 | 147 | fi |
| 148 | 148 | |
| 149 | | AC_ARG_WITH(mixmaster, [ --with-mixmaster[=PATH] Include Mixmaster support], |
| | 149 | AC_ARG_WITH(mixmaster, AC_HELP_STRING([--with-mixmaster[=PATH]], [Include Mixmaster support]), |
| 150 | 150 | [if test -x "$withval" ; then |
| 151 | 151 | MIXMASTER="$withval" |
| … |
… |
|
| 176 | 176 | fi |
| 177 | 177 | |
| 178 | | AC_ARG_WITH(slang, [ --with-slang[=DIR] Use S-Lang instead of ncurses], |
| | 178 | AC_ARG_WITH(slang, AC_HELP_STRING([--with-slang[=DIR]], [Use S-Lang instead of ncurses]), |
| 179 | 179 | [AC_CACHE_CHECK([if this is a BSD system], mutt_cv_bsdish, |
| 180 | 180 | [AC_TRY_RUN([#include <sys/param.h> |
| … |
… |
|
| 241 | 241 | |
| 242 | 242 | [mutt_cv_curses=/usr |
| 243 | | AC_ARG_WITH(curses, [ --with-curses=DIR Where ncurses is installed ], |
| | 243 | AC_ARG_WITH(curses, AC_HELP_STRING([--with-curses=DIR], [Where ncurses is installed]), |
| 244 | 244 | [if test $withval != yes; then |
| 245 | 245 | mutt_cv_curses=$withval |
| … |
… |
|
| 352 | 352 | AC_CHECK_FUNCS(fchdir, , [mutt_cv_fchdir=no]) |
| 353 | 353 | |
| 354 | | AC_ARG_WITH(regex, [ --with-regex Use the GNU regex library ], |
| | 354 | AC_ARG_WITH(regex, AC_HELP_STRING([--with-regex], [Use the GNU regex library]), |
| 355 | 355 | [mutt_cv_regex=yes], |
| 356 | 356 | [AC_CHECK_FUNCS(regcomp, mutt_cv_regex=no, mutt_cv_regex=yes)]) |
| … |
… |
|
| 376 | 376 | |
| 377 | 377 | |
| 378 | | AC_ARG_WITH(homespool, [ --with-homespool[=FILE] File in user's directory where new mail is spooled], with_homespool=${withval}) |
| | 378 | AC_ARG_WITH(homespool, |
| | 379 | AC_HELP_STRING([--with-homespool[=FILE]], [File in user's directory where new mail is spooled]), with_homespool=${withval}) |
| 379 | 380 | if test x$with_homespool != x; then |
| 380 | 381 | if test $with_homespool = yes; then |
| … |
… |
|
| 390 | 391 | mutt_cv_setgid=no |
| 391 | 392 | else |
| 392 | | AC_ARG_WITH(mailpath, [ --with-mailpath=DIR Directory where spool mailboxes are located], |
| | 393 | AC_ARG_WITH(mailpath, AC_HELP_STRING([--with-mailpath=DIR], [Directory where spool mailboxes are located]), |
| 393 | 394 | [mutt_cv_mailpath=$withval], |
| 394 | 395 | [ AC_CACHE_CHECK(where new mail is stored, mutt_cv_mailpath, |
| … |
… |
|
| 446 | 447 | fi |
| 447 | 448 | |
| 448 | | AC_ARG_ENABLE(external_dotlock, [ --enable-external-dotlock Force use of an external dotlock program], |
| | 449 | AC_ARG_ENABLE(external_dotlock, AC_HELP_STRING([--enable-external-dotlock], [Force use of an external dotlock program]), |
| 449 | 450 | [mutt_cv_external_dotlock="$enableval"]) |
| 450 | 451 | |
| … |
… |
|
| 462 | 463 | |
| 463 | 464 | AC_MSG_CHECKING(where to put the documentation) |
| 464 | | AC_ARG_WITH(docdir, [ --with-docdir=PATH Specify where to put the documentation], |
| | 465 | AC_ARG_WITH(docdir, AC_HELP_STRING([--with-docdir=PATH], [Specify where to put the documentation]), |
| 465 | 466 | [mutt_cv_docdir=$withval], |
| 466 | 467 | [mutt_cv_docdir="$mutt_cv_prefix/doc/mutt"]) |
| … |
… |
|
| 480 | 481 | AC_SUBST(DOTLOCK_PERMISSION) |
| 481 | 482 | |
| 482 | | AC_ARG_WITH(domain, [ --with-domain=DOMAIN Specify your DNS domain name], |
| | 483 | AC_ARG_WITH(domain, AC_HELP_STRING([--with-domain=DOMAIN], [Specify your DNS domain name]), |
| 483 | 484 | [if test $withval != yes; then |
| 484 | 485 | AC_DEFINE_UNQUOTED(DOMAIN,"$withval",[ Define your domain name. ]) |
| … |
… |
|
| 489 | 490 | dnl -- socket dependencies -- |
| 490 | 491 | |
| 491 | | AC_ARG_ENABLE(pop, [ --enable-pop Enable POP3 support], |
| | 492 | AC_ARG_ENABLE(pop, AC_HELP_STRING([--enable-pop], [Enable POP3 support]), |
| 492 | 493 | [ if test x$enableval = xyes ; then |
| 493 | 494 | AC_DEFINE(USE_POP,1,[ Define if you want support for the POP3 protocol. ]) |
| … |
… |
|
| 498 | 499 | ]) |
| 499 | 500 | |
| 500 | | AC_ARG_ENABLE(imap, [ --enable-imap Enable IMAP support], |
| | 501 | AC_ARG_ENABLE(imap, AC_HELP_STRING([--enable-imap], [Enable IMAP support]), |
| 501 | 502 | [ if test x$enableval = xyes ; then |
| 502 | 503 | AC_DEFINE(USE_IMAP,1,[ Define if you want support for the IMAP protocol. ]) |
| … |
… |
|
| 529 | 530 | dnl -- imap dependencies -- |
| 530 | 531 | |
| 531 | | AC_ARG_WITH(gss, [ --with-gss[=PFX] Compile in GSSAPI authentication for IMAP], |
| | 532 | AC_ARG_WITH(gss, AC_HELP_STRING([--with-gss[=PFX]], [Compile in GSSAPI authentication for IMAP]), |
| 532 | 533 | gss_prefix="$withval", gss_prefix="no") |
| 533 | 534 | if test "$gss_prefix" != "no" |
| … |
… |
|
| 559 | 560 | dnl -- end imap dependencies -- |
| 560 | 561 | |
| 561 | | AC_ARG_WITH(ssl, [ --with-ssl[=PFX] Compile in SSL support for POP/IMAP], |
| | 562 | AC_ARG_WITH(ssl, AC_HELP_STRING([--with-ssl[=PFX]], [Compile in SSL support for POP/IMAP]), |
| 562 | 563 | [ if test "$with_ssl" != "no" |
| 563 | 564 | then |
| … |
… |
|
| 589 | 590 | |
| 590 | 591 | dnl SSL support via NSS |
| 591 | | AC_ARG_WITH(nss, [ --with-nss[=PFX] Compile in SSL support for POP/IMAP via NSS], |
| | 592 | AC_ARG_WITH(nss, AC_HELP_STRING([--with-nss[=PFX]], [Compile in SSL support for POP/IMAP via NSS]), |
| 592 | 593 | [ if test "$with_nss" != no |
| 593 | 594 | then |
| … |
… |
|
| 612 | 613 | ]) |
| 613 | 614 | |
| 614 | | AC_ARG_WITH([gnutls], [ --with-gnutls[=PFX] Enable SSL support using gnutls], |
| | 615 | AC_ARG_WITH([gnutls], AC_HELP_STRING([--with-gnutls[=PFX]], [Enable SSL support using gnutls]), |
| 615 | 616 | [gnutls_prefix="$withval"], [gnutls_prefix="no"]) |
| 616 | 617 | if test "$gnutls_prefix" != "no" |
| … |
… |
|
| 633 | 634 | fi |
| 634 | 635 | |
| 635 | | AC_ARG_WITH(sasl, [ --with-sasl[=PFX] Use Cyrus SASL library for POP/IMAP authentication], |
| | 636 | AC_ARG_WITH(sasl, AC_HELP_STRING([--with-sasl[=PFX]], [Use Cyrus SASL library for POP/IMAP authentication]), |
| 636 | 637 | [ |
| 637 | 638 | if test "$need_socket" != "yes" |
| … |
… |
|
| 663 | 664 | AM_CONDITIONAL(USE_SASL, test x$need_sasl = xyes) |
| 664 | 665 | |
| 665 | | AC_ARG_WITH(sasl2, [ --with-sasl2[=PFX] Use Cyrus SASL library version 2 for POP/IMAP authentication], |
| | 666 | AC_ARG_WITH(sasl2, AC_HELP_STRING([--with-sasl2[=PFX]], [Use Cyrus SASL library version 2 for POP/IMAP authentication]), |
| 666 | 667 | [ |
| 667 | 668 | if test "$need_socket" != "yes" |
| … |
… |
|
| 695 | 696 | AM_CONDITIONAL(USE_SASL, test x$need_sasl = xyes) |
| 696 | 697 | |
| 697 | | AC_ARG_WITH(idn, [ --with-idn=[PFX] Use GNU libidn for domain names], |
| | 698 | AC_ARG_WITH(idn, AC_HELP_STRING([--with-idn=[PFX]], [Use GNU libidn for domain names]), |
| 698 | 699 | [ |
| 699 | 700 | if test "$with_idn" != "no" ; then |
| … |
… |
|
| 715 | 716 | dnl -- end socket -- |
| 716 | 717 | |
| 717 | | AC_ARG_ENABLE(debug, [ --enable-debug Enable debugging support], |
| | 718 | AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Enable debugging support]), |
| 718 | 719 | [ if test x$enableval = xyes ; then |
| 719 | 720 | AC_DEFINE(DEBUG,1,[ Define to enable debugging info. ]) |
| … |
… |
|
| 721 | 722 | ]) |
| 722 | 723 | |
| 723 | | AC_ARG_ENABLE(flock, [ --enable-flock Use flock() to lock files], |
| | 724 | AC_ARG_ENABLE(flock, AC_HELP_STRING([--enable-flock], [Use flock() to lock files]), |
| 724 | 725 | [if test $enableval = yes; then |
| 725 | 726 | AC_DEFINE(USE_FLOCK,1, [ Define to use flock() to lock mailboxes. ]) |
| … |
… |
|
| 727 | 728 | |
| 728 | 729 | mutt_cv_fcntl=yes |
| 729 | | AC_ARG_ENABLE(fcntl, [ --disable-fcntl Do NOT use fcntl() to lock files ], |
| | 730 | AC_ARG_ENABLE(fcntl, AC_HELP_STRING([--disable-fcntl], [Do NOT use fcntl() to lock files]), |
| 730 | 731 | [if test $enableval = no; then mutt_cv_fcntl=no; fi]) |
| 731 | 732 | |
| … |
… |
|
| 737 | 738 | dnl quickly change the default to "yes" again. |
| 738 | 739 | mutt_cv_inodesort=no |
| 739 | | AC_ARG_ENABLE(inodesort, [ --enable-inodesort Read files in maildir folders sorted by inode. ], |
| | 740 | AC_ARG_ENABLE(inodesort, AC_HELP_STRING([--enable-inodesort], [Read files in maildir folders sorted by inode]), |
| 740 | 741 | [if test x$enableval = xyes ; then mutt_cv_inodesort=yes; fi]) |
| 741 | 742 | |
| … |
… |
|
| 745 | 746 | |
| 746 | 747 | mutt_cv_warnings=yes |
| 747 | | AC_ARG_ENABLE(warnings, [ --disable-warnings Turn off compiler warnings (not recommended)], |
| | 748 | AC_ARG_ENABLE(warnings, AC_HELP_STRING([--disable-warnings], [Turn off compiler warnings (not recommended)]), |
| 748 | 749 | [if test $enableval = no; then |
| 749 | 750 | mutt_cv_warnings=no |
| … |
… |
|
| 754 | 755 | fi |
| 755 | 756 | |
| 756 | | AC_ARG_ENABLE(nfs-fix, [ --enable-nfs-fix Work around an NFS with broken attributes caching ], |
| | 757 | AC_ARG_ENABLE(nfs-fix, AC_HELP_STRING([--enable-nfs-fix], [Work around an NFS with broken attributes caching]), |
| 757 | 758 | [if test x$enableval = xyes; then |
| 758 | 759 | AC_DEFINE(NFS_ATTRIBUTE_HACK,1, |
| … |
… |
|
| 762 | 763 | fi]) |
| 763 | 764 | |
| 764 | | AC_ARG_ENABLE(buffy-size, [ --enable-buffy-size Use file size attribute instead of access time ], |
| | 765 | AC_ARG_ENABLE(buffy-size, AC_HELP_STRING([--enable-buffy-size], [Use file size attribute instead of access time]), |
| 765 | 766 | [if test x$enableval = xyes; then |
| 766 | 767 | AC_DEFINE(BUFFY_SIZE,1,[ Define to enable the "buffy_size" feature. ]) |
| 767 | 768 | fi]) |
| 768 | 769 | |
| 769 | | AC_ARG_ENABLE(mailtool, [ --enable-mailtool Enable Sun mailtool attachments support ], |
| | 770 | AC_ARG_ENABLE(mailtool, AC_HELP_STRING([--enable-mailtool], [Enable Sun mailtool attachments support]), |
| 770 | 771 | [if test x$enableval = xyes; then |
| 771 | 772 | AC_DEFINE(SUN_ATTACHMENT,1,[ Define to enable Sun mailtool attachments support. ]) |
| 772 | 773 | fi]) |
| 773 | 774 | |
| 774 | | AC_ARG_ENABLE(locales-fix, [ --enable-locales-fix The result of isprint() is unreliable ], |
| | 775 | AC_ARG_ENABLE(locales-fix, AC_HELP_STRING([--enable-locales-fix], [The result of isprint() is unreliable]), |
| 775 | 776 | [if test x$enableval = xyes; then |
| 776 | 777 | AC_DEFINE(LOCALES_HACK,1,[ Define if the result of isprint() is unreliable. ]) |
| 777 | 778 | fi]) |
| 778 | 779 | |
| 779 | | AC_ARG_WITH(exec-shell, [ --with-exec-shell=SHELL Specify alternate shell (ONLY if /bin/sh is broken)], |
| | 780 | AC_ARG_WITH(exec-shell, AC_HELP_STRING([--with-exec-shell=SHELL], [Specify alternate shell (ONLY if /bin/sh is broken)]), |
| 780 | 781 | [if test $withval != yes; then |
| 781 | 782 | AC_DEFINE_UNQUOTED(EXECSHELL, "$withval", |
| … |
… |
|
| 786 | 787 | [AC_DEFINE_UNQUOTED(EXECSHELL, "/bin/sh")]) |
| 787 | 788 | |
| 788 | | AC_ARG_ENABLE(exact-address, [ --enable-exact-address Enable regeneration of email addresses], |
| | 789 | AC_ARG_ENABLE(exact-address, AC_HELP_STRING([--enable-exact-address], [Enable regeneration of email addresses]), |
| 789 | 790 | [if test $enableval = yes; then |
| 790 | 791 | AC_DEFINE(EXACT_ADDRESS,1, |
| … |
… |
|
| 795 | 796 | |
| 796 | 797 | dnl -- start cache -- |
| 797 | | AC_ARG_ENABLE(hcache, [ --enable-hcache Enable header caching], |
| | 798 | AC_ARG_ENABLE(hcache, AC_HELP_STRING([--enable-hcache], [Enable header caching]), |
| 798 | 799 | [if test x$enableval = xyes; then |
| 799 | 800 | AC_DEFINE(USE_HCACHE, 1, [Enable header caching]) |
| … |
… |
|
| 805 | 806 | need_md5="yes" |
| 806 | 807 | ac_prefer_gdbm=yes |
| 807 | | AC_ARG_WITH(gdbm, [ --without-gdbm Get rid of gdbm even if it is available ], |
| | 808 | AC_ARG_WITH(gdbm, AC_HELP_STRING([--without-gdbm], [Don't use gdbm even if it is available]), |
| 808 | 809 | ac_prefer_gdbm=$withval) |
| 809 | 810 | if test x$ac_prefer_gdbm != xno; then |
| … |
… |
|
| 817 | 818 | |
| 818 | 819 | ac_bdb_prefix=yes |
| 819 | | AC_ARG_WITH(bdb, [ --with-bdb[=DIR] Use BerkeleyDB4 if gdbm is not available ], |
| | 820 | AC_ARG_WITH(bdb, AC_HELP_STRING([--with-bdb[=DIR]], [Use BerkeleyDB4 if gdbm is not available]), |
| 820 | 821 | ac_bdb_prefix=$withval) |
| 821 | 822 | if test x$ac_bdb_prefix != xno -a x$ac_cv_gdbmopen != xyes; then |
| … |
… |
|
| 891 | 892 | dnl -- iconv/gettext -- |
| 892 | 893 | |
| 893 | | AC_ARG_ENABLE(iconv, [ --disable-iconv Disable iconv support], |
| | 894 | AC_ARG_ENABLE(iconv, AC_HELP_STRING([--disable-iconv], [Disable iconv support]), |
| 894 | 895 | [if test x$enableval = xno ; then |
| 895 | 896 | am_cv_func_iconv=no |
| … |
… |
|
| 1046 | 1047 | |
| 1047 | 1048 | wc_funcs=maybe |
| 1048 | | AC_ARG_WITH(wc-funcs, [ --without-wc-funcs Do not use the system's wchar_t functions], |
| | 1049 | AC_ARG_WITH(wc-funcs, AC_HELP_STRING([--without-wc-funcs], [Do not use the system's wchar_t functions]), |
| 1049 | 1050 | wc_funcs=$withval) |
| 1050 | 1051 | |
-
|
r3129
|
r3921
|
|
| 51 | 51 | dnl Default is enabled NLS |
| 52 | 52 | AC_ARG_ENABLE(nls, |
| 53 | | [ --disable-nls Do not use Native Language Support], |
| | 53 | AC_HELP_STRING([--disable-nls], [Do not use Native Language Support]), |
| 54 | 54 | USE_NLS=$enableval, USE_NLS=yes) |
| 55 | 55 | AC_MSG_RESULT($USE_NLS) |
| … |
… |
|
| 67 | 67 | AC_MSG_CHECKING([whether included gettext is requested]) |
| 68 | 68 | AC_ARG_WITH(included-gettext, |
| 69 | | [ --with-included-gettext Use the GNU gettext library included here], |
| | 69 | AC_HELP_STRING([--with-included-gettext], [Use the GNU gettext library included here]), |
| 70 | 70 | nls_cv_force_use_gnu_gettext=$withval, |
| 71 | 71 | nls_cv_force_use_gnu_gettext=no) |
-
|
r3129
|
r3921
|
|
| 9 | 9 | |
| 10 | 10 | AC_ARG_WITH([libiconv-prefix], |
| 11 | | [ --with-libiconv-prefix=DIR Search for libiconv in DIR/include and DIR/lib], [ |
| | 11 | AC_HELP_STRING([--with-libiconv-prefix=DIR], [Search for libiconv in DIR/include and DIR/lib]), [ |
| 12 | 12 | for dir in `echo "$withval" | tr : ' '`; do |
| 13 | 13 | if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi |