Node:General Information, Previous:Loader Flags, Up:mailutils-config



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.1.3
USE_LIBPAM
HAVE_LIBLTDL
WITH_GUILE
WITH_READLINE
HAVE_MYSQL
ENABLE_VIRTUAL_DOMAINS
ENABLE_IMAP
ENABLE_POP
ENABLE_MH
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 GDBM is compiled in (the package was configured with --with-gdbm option). See Introduction, for 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 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_SMTP
Support for SMTP mailer is enabled.
ENABLE_SENDMAIL
Support for Sendmail mailer is enabled.