XEmacs 21.2.33 "Melpomene".
[chise/xemacs-chise.git.1] / configure.usage
1 Usage: configure [--OPTION[=VALUE] ...] [CONFIGURATION]
2
3 Set compilation and installation parameters for XEmacs, and report.
4
5 Note that for most of the following options, you can explicitly enable
6 them using `--OPTION=yes' and explicitly disable them using `--OPTION=no'.
7 This is especially useful for auto-detected options.
8 The option `--without-FEATURE' is a synonym for `--with-FEATURE=no'.
9
10 Options marked with a (*) are auto-detected.
11
12 Use colons (or quoted spaces) to separate directory names in option
13 values which are PATHs (i.e. lists of directories).
14
15 General options:
16
17 --help                  Issue this usage message.
18 --verbose               Display the results of configure tests.
19 --extra-verbose         Display even more information, useful for debugging.
20
21
22 Compilation options:
23
24 --compiler=prog         C compiler to use.
25 --with-gcc (*)          Use GCC to compile XEmacs.
26 --without-gcc           Don't use GCC to compile XEmacs.
27 --cflags=FLAGS          Compiler flags (such as -O)
28 --cpp=prog              C preprocessor to use (e.g. /usr/ccs/lib/cpp or cc -E)
29 --cppflags=FLAGS        C preprocessor flags (e.g. -I/foo or -Dfoo=bar)
30 --libs=LIBS             Additional libraries (e.g. -lfoo)
31 --ldflags=FLAGS         Additional linker flags (e.g. -L/foo)
32 --site-includes=PATH    List of directories to search first for header files.
33 --site-libraries=PATH   List of directories to search first for libraries.
34 --site-prefixes=PATH    List of directories to search for include/ and lib/
35                         subdirectories, just after 'site-includes' and
36                         'site-libraries'.
37 --site-runtime-libraries=PATH
38                         List of ALL directories to search for dynamically
39                         linked libraries at run time.
40 --dynamic=yes           Link dynamically if supported by system.
41 --dynamic=no            Force static linking on systems where dynamic
42                         linking is the default.
43 --srcdir=DIR            Look for the XEmacs source files in DIR.
44                         Works best when using GNU Make.
45
46
47 Installation options:
48
49 --prefix=DIR            Install files below DIR.  Defaults to `/usr/local'.
50 --with-prefix           Compile the value of --prefix into the executable.
51                         Defaults to `yes'.
52 --without-prefix        Don't compile the value of --prefix into the executable.
53
54
55 Window-system options:
56
57 --with-x11 (*)          Support the X Window System.
58 --without-x11           Don't support X.
59 --x-includes=DIR        Search for X header files in DIR.
60 --x-libraries=DIR       Search for X libraries in DIR.
61 --without-toolbars      Don't compile with any toolbar support.
62 --without-wmcommand     Compile without realized leader window which will
63                         keep the WM_COMMAND property.
64 --with-athena=TYPE      Use TYPE Athena widgets
65                         (xaw, 3d, next, 95, or xpm)
66 --with-menubars=TYPE    Use TYPE menubars (lucid, motif, or no).  The Lucid
67                         widgets emulate Motif (mostly) but are faster.
68                         *WARNING*  The Motif menubar is currently broken.
69 --with-scrollbars=TYPE  Use TYPE scrollbars
70                         (lucid, motif, athena, or no).
71 --with-dialogs=TYPE     Use TYPE dialog boxes (motif, athena, or no).
72                         Lucid menubars and scrollbars are the default.
73                         Motif dialog boxes will be used if Motif can be found.
74 --with-widgets=TYPE     Use TYPE widgets (motif, athena, or no).
75                         Motif widgets will be used if Motif can be found.
76                         Other widget types are currently unsupported.
77 --with-dragndrop (*)    Compile in the generic drag and drop API. This is
78                         automatically added if one of the drag and drop
79                         protocols is found (currently CDE, OffiX, MSWindows).
80                         *WARNING*  The Drag'n'drop support is under development
81                                    and is considered experimental.
82 --with-cde (*)          Compile in support for CDE drag and drop.
83 --with-offix (*)        Compile in support for OffiX drag and drop.
84                         *WARNING*  If you compile in OffiX, you may not be
85                                    able to use multiple X displays success-
86                                    fully.  If the two servers are from
87                                    different vendors, the results may be
88                                    unpredictable.
89 --without-xmu (*)       For those unfortunates whose vendors don't ship Xmu.
90 --external-widget       Compile with external widget support.
91
92
93 TTY options:
94
95 --without-tty           Don't support TTY-s.
96 --with-ncurses (*)      Use the ncurses library for tty support.
97 --with-gpm (*)          Compile in support for General Purpose Mouse.
98
99
100 Image options:
101
102 --with-xpm (*)          Compile with support for XPM files.
103                         It is highly recommended that you obtain XPM
104                         (version 3.4h or better) if you don't already
105                         have it.  Get it from the XEmacs FTP site.
106 --with-xface (*)        Compile with support for X-Face mail header
107                         conversion.  Requires the compface library.
108                         Get it from the XEmacs FTP site.
109 --without-gif           Compile without the built-in support for GIF image
110                         conversion.
111 --with-jpeg (*)         Compile with support for JPEG image conversion.
112                         Requires libjpeg from the Independent JPEG Group.
113                         Get it from the XEmacs FTP site.
114 --with-png (*)          Compile with support for PNG image conversion.
115                         Requires libpng.  Get it from the XEmacs FTP site.
116 --with-tiff (*)         Compile with support for TIFF image conversion.
117                         Requires Sam Lefflier's libtiff library.
118                         Get if from the XEmacs FTP site.
119
120
121 Sound options:
122
123 --with-sound=TYPE,[TYPE],... Compile with native sound support.
124                         Valid types are `native', `nas' and `esd'.
125                         Prefix a type with 'no' to disable.
126                         The first option can be `none' or `all'.
127                         `none' is a synonym for `nonative,nonas,noesd'.
128                         `all' is a synonym for native,nas,esd or `all'.
129                         The default is to autodetect all sound support.
130 --native-sound-lib=LIB  Native sound support library.  Needed on Suns
131                         with --with-sound=both because both sound libraries
132                         are called libaudio.
133
134
135 Database options:
136
137 --with-database=TYPE (*) Compile with database support.  Valid types are
138                         `no' or a comma-separated list of one or more
139                         of `berkdb' and either `dbm' or `gnudbm'.
140 --with-ldap (*)         Compile with support for the LDAP protocol (requires
141                         installed LDAP libraries on the system).
142 --with-postgresql (*)   Compile with support for the PostgreSQL RDBMS (requires
143                         installed PostreSQL libraries on the system).
144
145
146 Mail options:
147
148 --mail-locking=TYPE (*) Specify the locking to be used by movemail to prevent
149                         concurrent updates of mail spool files. Valid types
150                         are `lockf', `flock', and `dot'.
151 --with-pop              support POP for mail retrieval
152 --with-kerberos         support Kerberos-authenticated POP
153 --with-hesiod           support Hesiod to get the POP server host
154
155
156 Additional features:
157
158 --with-tooltalk (*)     Support the ToolTalk IPC protocol.
159 --with-workshop         Support the Sun WorkShop (formerly Sparcworks)
160                         development environment.
161 --with-socks            Compile with support for SOCKS (an Internet proxy).
162 --with-dnet (*)         Compile with support for DECnet.
163 --with-modules          Compile in experimental support for dynamically
164                         loaded libraries (Dynamic Shared Objects).
165 --with-site-lisp=yes    Allow for a site-lisp directory in the XEmacs hierarchy
166                         searched before the installation packages.
167 --with-site-modules=no  Disable site-modules directory in the XEmacs hierarchy,
168                         which is searched before the installation modules.
169 --package-path=PATH     Directories to search for packages to dump with xemacs.
170                         PATH splits into three parts separated by double
171                         colons (::), an early, a late, and a last part,
172                         corresponding to their position in the various
173                         system paths:  The early part is always first,
174                         the late part somewhere in the middle, and the
175                         last part at the very back.
176                         Only the late part gets seen at dump time.
177                         If PATH has only one component, that component
178                         is late.
179                         If PATH has two components, the first is
180                         early, the second is late.
181 --infodir=DIR           Directory to install XEmacs Info manuals and dir in.
182 --infopath=PATH         Directories to search for Info documents, info dir
183                         and localdir files in case run-time searching
184                         for them fails.
185 --moduledir=DIR         Directory to install dynamic modules in.
186 --pdump                 New, experimental, non-working, don't-sue-me-if-
187                         your-house-collapses-and-your-wife-goes-away,
188                         portable dumper.
189
190 Internationalization options:
191
192 --with-mule             Compile with Mule (MUlti-Lingual Emacs) support,
193                         needed to support non-Latin-1 (including Asian)
194                         languages.
195 --with-xim=xlib         Compile with support for X input methods,
196 --with-xim=motif (*)    Used in conjunction with Mule support.
197                         Use either raw Xlib to provide XIM support, or
198                         the Motif XmIm* routines (when available).
199                         NOTE:  On some systems bugs in X11's XIM support
200                         will cause XEmacs to crash, so by default,
201                         no XIM support is compiled in, unless running
202                         on Solaris and the XmIm* routines are detected.
203 --with-canna (*)        Compile with support for Canna (a Japanese input method
204                         used in conjunction with Mule support).
205 --with-wnn (*)          Compile with support for WNN (a multi-language input
206                         method used in conjunction with Mule support).
207 --with-wnn6 (*)         Compile with support for the comercial package WNN
208                         version 6
209 --with-i18n3            Compile with I18N level 3 (support for message
210                         translation).  This doesn't currently work.
211 --with-xfs              Compile with XFontSet support for bilingual menubar.
212                         Can't use this option with --with-xim=motif or xlib.
213                         And should have --with-menubars=lucid.
214
215
216 Debugging options:
217
218 --debug                 Compile with support for debugging XEmacs.
219                         (Causes code-size increase and little loss of speed.)
220 --error-checking=TYPE[,TYPE]...
221                         Compile with internal error-checking added.
222                         Causes noticeable loss of speed.  Valid types
223                         are extents, bufpos, malloc, gc, typecheck.
224 --error-checking=none   Disable all internal error-checking (the default).
225 --error-checking=all    Enable all internal error-checking.
226 --memory-usage-stats    Compile with additional code to allow you to
227                         determine what XEmacs's memory is being used
228                         for.  Causes a small code increase but no loss
229                         of speed.  Normally enabled when --debug is given.
230 --no-doc-file           Don't rebuild the DOC file unless it's explicitly
231                         deleted.  Only use during development. (It speeds
232                         up the compile-run-test cycle.)
233 --use-union-type        Enable or disable use of a union, instead of an
234                         int, for the fundamental Lisp_Object type; this
235                         provides stricter type-checking.  Only works with
236                         some systems and compilers.
237 --with-quantify         Add support for performance debugging using Quantify.
238 --with-purify           Add support for memory debugging using Purify.
239
240
241 Other options:
242
243 --rel-alloc             Use the relocating allocator (default for this option
244                         is system-dependent).
245 --with-dlmalloc         Control usage of Doug Lea malloc on systems that have
246                         it in the standard C library (default is to use it if
247                         it is available).
248 --with-system-malloc    Force use of the system malloc, rather than GNU malloc.
249 --with-debug-malloc     Use the debugging malloc package.
250 --with-clash-detection  Use lock files to detect multiple edits of the same
251                         file.  The default is to do clash detection.
252 --lockdir=DIR           The directory to put clash detection files in, such as
253                         `/var/lock/emacs'.
254                         Defaults to `${statedir}/xemacs/lock'.
255
256 You may also specify any of the `path' variables found in Makefile.in,
257 including --bindir, --libdir, --docdir, --lispdir, --sitelispdir,
258 --datadir, --infodir, --mandir and so on.  Note that we recommend
259 against explicitly setting any of these variables.  See the INSTALL
260 file for a complete list plus the reasons we advise not changing them.
261
262 If successful, configure leaves its status in config.status.  If
263 unsuccessful after disturbing the status quo, it removes config.status.
264
265 The configure script also recognizes some environment variables, each
266 of which is equivalent to a corresponding configure flag.  A specified
267 configure flag always overrides the environment variable.
268
269 envvar      configure flag
270 -----       --------------
271 CC          --compiler
272 CPP         --cpp
273 CFLAGS      --cflags
274 CPPFLAGS    --cppflags
275 LDFLAGS     --ldflags
276 LIBS        --libs
277 LD_RUN_PATH --site-runtime-libraries
278
279 For more details on the install process, consult the INSTALL file.