Appendix B. Configure Command-Line Options

This appendix contains a complete listing of the command-line options available to the configure script. This listing can also be seen by typing ./configure -help in the unpacked Apache source code tree.

Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
—cache-file=FILE cache test results in FILE
—help print this message
—no-create do not create output files
—quiet, —silent do not print 'checking…' messages
—version print the version of autoconf that created configure
Directory and file names:
—prefix=PREFIX

install architecture-independent files in PREFIX

[/usr/local/apache2]

—exec-prefix=EPREFIX

install architecture-dependent files in EPREFIX

[same as prefix]

—bindir=DIR user executables in DIR [EPREFIX/bin]
—sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
—libexecdir=DIR program executables in DIR [EPREFIX/libexec]
—datadir=DIR

read-only architecture-independent data in DIR

[PREFIX/share]

—sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
—sharedstatedir=DIR

modifiable architecture-independent data in DIR

[PREFIX/com]

—localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
—libdir=DIR object code libraries in DIR [EPREFIX/lib]
—includedir=DIR C header files in DIR [PREFIX/include]
—oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
—infodir=DIR info documentation in DIR [PREFIX/info]
—mandir=DIR man documentation in DIR [PREFIX/man]
—srcdir=DIR find the sources in DIR [configure dir or ..]
—program-prefix=PREFIX prepend PREFIX to installed program names
—program-suffix=SUFFIX append SUFFIX to installed program names
—program-transform-name=PROGRAM run sed PROGRAM on installed program names
Host type:
—build=BUILD configure for building on BUILD [BUILD=HOST]
—host=HOST configure for HOST [guessed]
—target=TARGET configure for TARGET [TARGET=HOST]
Features and packages:
—disable-FEATURE do not include FEATURE (same as —enable-FEATURE=no)
—enable-FEATURE[=ARG] include FEATURE [ARG=yes]
—with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
—without-PACKAGE do not use PACKAGE (same as —with-PACKAGE=no)
—x-includes=DIR X include files are in DIR
—x-libraries=DIR X library files are in DIR
—enable and —with options recognized:  
—with-optim=FLAG obsolete (use OPTIM environment variable)
—with-port=PORT Port on which to listen (default is 80)
—enable-debug Turn on debugging and compile time warnings
—enable-maintainer-mode Turn on debugging and compile time warnings
—enable-layout=LAYOUT  
—enable-modules=MODULE-LIST  
—enable-mods-shared=MODULE-LIST  
—disable-access host-based access control
—disable-auth user-based access control
—enable-auth-anon anonymous user access
—enable-auth-dbm DBM-based access databases
—enable-auth-db DB-based access databases
—enable-auth-digest RFC2617 Digest authentication
—enable-file-cache File cache
—enable-dav-fs DAV provider for the filesystem
—enable-dav WebDAV protocol handling
—enable-echo ECHO server
—enable-charset-lite character set translation
—enable-cache dynamic file caching
—enable-disk-cache disk caching module
—enable-ext-filter external filter module
—enable-case-filter example uppercase conversion filter
—enable-generic-hook-export example hook exporter
—enable-generic-hook-import example hook importer
—enable-optional-fn-import example optional function importer
—enable-optional-fn-export example optional function exporter
—disable-include Server-Side Includes
—disable-http HTTP protocol handling
—disable-mime mapping of file-extension to MIME
—disable-log-config logging configuration
—enable-vhost-alias mass hosting module
—disable-negotiation content negoatiation
—disable-dir directory request handling
—disable-imap internal imagemaps
—disable-actions Action triggering on requests
—enable-speling correct common URL misspellings
—disable-userdir mapping of user requests
—disable-alias translation of requests
—enable-rewrite regex URL translation
—disable-so DSO capability
—enable-so DSO capability
—disable-env clearing/setting of ENV vars
—enable-mime-magic automagically determining MIME type
—enable-cern-meta CERN-type meta files
—enable-expires Expires header control
—enable-headers HTTP header control
—enable-usertrack user-session tracking
—enable-unique-id per-request unique ids
—disable-setenvif basing ENV vars on headers
—enable-tls TLS/SSL support
—with-ssl use a specific SSL library installation
—with-mpm=MPM Choose the process model for Apache to use.
MPM={beos,threaded,prefork, spmt_os2,perchild}
—disable-status process/thread monitoring
—disable-autoindex directory listing
—disable-asis as-is filetypes
—enable-info server information
—enable-suexec set uid and gid for spawned processes
—disable-cgid CGI scripts
—enable-cgi CGI scripts
—disable-cgi CGI scripts
—enable-cgid CGI scripts
—enable-shared[=PKGS] build shared libraries [default=no]
—enable-static[=PKGS] build static libraries [default=yes]
—enable-fast-install[=PKGS] optimize for fast installation [default=yes]
—with-gnu-ld assume the C compiler uses GNU ld [default=no]
—disable-libtool-lock avoid locking (might break parallel builds)
—with-program-name alternate executable name
—with-suexec-caller User allowed to call SuExec
—with-suexec-userdir User subdirectory
—with-suexec-docroot SuExec root directory
—with-suexec-uidmin Minimal allowed UID
—with-suexec-gidmin Minimal allowed GID
—with-suexec-logfile Set the logfile
—with-suexec-safepath Set the safepath
—with-suexec-umask umask for suexec'd process
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset