Obtaining General Build Information
The --info, or -i retrieves the options (flags) used
when building Mailutils. It may be used with or without
arguments.
When used without arguments, it prints the list of all
build flags, e.g.:
$ mailutils-config --info
VERSION=0.4.1
USE_LIBPAM
HAVE_LIBLTDL
WITH_GDBM
WITH_GNUTLS
WITH_GSASL
WITH_GUILE
WITH_PTHREAD
WITH_READLINE
HAVE_MYSQL
ENABLE_VIRTUAL_DOMAINS
ENABLE_IMAP
ENABLE_POP
ENABLE_MH
ENABLE_MAILDIR
ENABLE_SMTP
ENABLE_SENDMAIL
This option also accepts any number of arguments. When these are
given, each argument is treated as a name of a build flag.
Mailutils-config checks if such a flag was defined and
prints its full name if so. It exits with zero code if all the
flags given on the command line are defined. Otherwise, it
exits with code of 1.
The comparison of the flag names is case-insensitive. The arguments
given need not include the leading prefix (i.e. the characters up
to and including the first underscore character).
Given the previous example, the invocation
$ mailutils --info readline use_libpam pop
will produce the following output:
WITH_READLINE
USE_LIBPAM
ENABLE_POP
and will exit with a zero status.
The following command:
$ mailutils --info readline gssapi pop
will exit with status 1, and will print:
WITH_READLINE
ENABLE_POP
since WITH_GSSAPI
flag is not defined.
The flags and their meanings are:
- USE_LIBPAM
- The Mailutils uses pam libraries.
- HAVE_LIBLTDL
- The gnu wrapper library libltdl is present and is used
by Mailutils. See Using libltdl, for
more information on libltdl library.
- WITH_BDB2
- Support for Berkeley DB is compiled in (the package was configured with
--with-db2 option).
- WITH_NDBM
- Support for NDBM is compiled in (the package was configured with
--with-ndbm option).
- WITH_OLD_DBM
- Support for old style DBM is compiled in (the package was configured with
--with-dbm option).
- WITH_GDBM
- Support for GNU DBM is compiled in (the package was configured with
--with-gdbm option). See Introduction,
for more information about this library.
- WITH_GNUTLS
- Support for GnuTLS (a Transport Layer Security Library) is compiled in
(the package was configured with --with-gnutls option).
- WITH_GSASL
- Support for GNU SASL is compiled in (the package was configured with
--with-gsasl option). See Introduction,
for more information about this library.
- WITH_GSSAPI
- Support for gssapi is compiled in (the package was configured with
--with-gssapi option).
- WITH_GUILE
- Support for Guile extension language is built (the package was
configured with --with-guile option).
See Overview,
for more information about Guile.
- WITH_PTHREAD
- The posix thread support is compiled in.
- WITH_READLINE
- The readline support is enabled (the package was
configured with --with-readline option).
See Top, for more information.
- HAVE_MYSQL
- Authentication via MySQL is supported (the package was
configured with --enable-mysql option).
- ENABLE_VIRTUAL_DOMAINS
- Support for mail virtual domains is enabled (the package was
configured with --enable-virtual-domains option).
- ENABLE_IMAP
- Support for imap4 protocol is enabled.
- ENABLE_POP
- Support for pop3 protocol is enabled.
- ENABLE_MH
- Support for mailboxes in mh format is enabled.
- ENABLE_MAILDIR
- Support for mailboxes in Maildir format is enabled.
- ENABLE_SMTP
- Support for smtp mailer is enabled.
- ENABLE_SENDMAIL
- Support for Sendmail mailer is enabled.