243
|
1 Usage: configure [--OPTION[=VALUE] ...] [CONFIGURATION]
|
215
|
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
|
380
|
6 them using `--OPTION=yes' and explicitly disable them using `--OPTION=no'.
|
215
|
7 This is especially useful for auto-detected options.
|
276
|
8 The option `--without-FEATURE' is a synonym for `--with-FEATURE=no'.
|
215
|
9
|
272
|
10 Options marked with a (*) are auto-detected.
|
215
|
11
|
442
|
12 Many features require external packages to be installed first.
|
|
13 Get them from ftp://ftp.xemacs.org/pub/xemacs/aux.
|
|
14
|
215
|
15 Use colons (or quoted spaces) to separate directory names in option
|
|
16 values which are PATHs (i.e. lists of directories).
|
|
17
|
442
|
18 The results of configure tests are saved in config.log, which is useful
|
|
19 for diagnosing problems.
|
|
20
|
|
21
|
215
|
22 General options:
|
1202
|
23 ----------------
|
215
|
24
|
388
|
25 --help Issue this usage message.
|
442
|
26 --verbose Accepted but ignored.
|
|
27 --extra-verbose Display more information, useful for debugging.
|
215
|
28
|
|
29
|
|
30 Compilation options:
|
1202
|
31 --------------------
|
215
|
32
|
442
|
33 --compiler=PROG C compiler to use
|
1202
|
34 --xemacs-compiler=PROG compiler to use to compile just the xemacs executable.
|
|
35 If you want to compile XEmacs as C++, use e.g.
|
|
36 `--xemacs-compiler=g++'. This turns on a lot of
|
|
37 additional error-checking.
|
388
|
38 --with-gcc (*) Use GCC to compile XEmacs.
|
1111
|
39 --cflags=FLAGS Compiler flags (such as -O); setting this overrides
|
|
40 all default compiler flags except those that control
|
|
41 warnings.
|
1546
|
42 --cflags-warning=FLAGS Override compiler flags used to control warnings.
|
1111
|
43 Normally, don't set this, as XEmacs already turns on
|
|
44 the maximum safe warning level.
|
2512
|
45 --with-optimization Control whether compilation is optimized.
|
|
46 By default, optimization is on in release versions
|
|
47 and off in beta versions, since it can interfere
|
|
48 with proper stack backtraces.
|
|
49 --cflags-optimization=FLAGS
|
|
50 Override compiler flags used to control optimization.
|
|
51 Only has an effect when optimization is enabled.
|
|
52 Normally, don't set this, as XEmacs will already set
|
|
53 the maximum safe optimization flags appropriate for
|
|
54 the compiler being invoked.
|
|
55 --cflags-debugging=FLAGS
|
|
56 Override compiler flags used to add debugging
|
|
57 information to the executable. Normally, debugging
|
|
58 information is added whenever possible (i.e. unless
|
|
59 optimization is turned on and the compiler does not
|
|
60 permit debugging and optimization simultaneously).
|
442
|
61 --cpp=PROG C preprocessor to use (e.g. /usr/ccs/lib/cpp or cc -E)
|
388
|
62 --cppflags=FLAGS C preprocessor flags (e.g. -I/foo or -Dfoo=bar)
|
|
63 --libs=LIBS Additional libraries (e.g. -lfoo)
|
|
64 --ldflags=FLAGS Additional linker flags (e.g. -L/foo)
|
442
|
65 --site-includes=PATH List of directories to search first for header files
|
|
66 --site-libraries=PATH List of directories to search first for libraries
|
243
|
67 --site-prefixes=PATH List of directories to search for include/ and lib/
|
|
68 subdirectories, just after 'site-includes' and
|
442
|
69 'site-libraries'
|
215
|
70 --site-runtime-libraries=PATH
|
388
|
71 List of ALL directories to search for dynamically
|
442
|
72 linked libraries at run time
|
388
|
73 --dynamic=yes Link dynamically if supported by system.
|
|
74 --dynamic=no Force static linking on systems where dynamic
|
|
75 linking is the default.
|
|
76 --srcdir=DIR Look for the XEmacs source files in DIR.
|
1202
|
77 Works best when using GNU Make. Allows you to build
|
|
78 XEmacs in various different ways using the same
|
|
79 source tree.
|
215
|
80
|
|
81
|
|
82 Installation options:
|
1202
|
83 ---------------------
|
215
|
84
|
388
|
85 --prefix=DIR Install files below DIR. Defaults to `/usr/local'.
|
442
|
86 --with-prefix=no Don't compile the value of --prefix into the
|
|
87 executable.
|
1202
|
88 --with-netinstall Compile in support for installation over the internet.
|
|
89 Only functional on the MS Windows platforms.
|
|
90 --bindir=DIR
|
|
91 --datadir=DIR
|
|
92 --statedir=DIR
|
|
93 --libdir=DIR
|
|
94 --infodir=DIR
|
|
95 --mandir=DIR
|
|
96 --lispdir=DIR
|
|
97 --sitelispdir=DIR
|
|
98 --etcdir=DIR
|
|
99 --lockdir=DIR
|
|
100 --archlibdir=DIR
|
|
101 --docdir=DIR
|
|
102 --moduledir=DIR
|
|
103 You may also control individually where various
|
|
104 parts of XEmacs are installed. Note that we
|
|
105 recommend against explicitly setting any of these
|
|
106 variables. See the INSTALL file for a complete list
|
|
107 plus the reasons we advise not changing them.
|
|
108
|
|
109
|
|
110 Run-time path-searching options:
|
|
111 --------------------------------
|
|
112
|
|
113 --with-site-lisp=yes Allow for a site-lisp directory in the XEmacs hierarchy
|
|
114 searched before the installation packages.
|
|
115 --with-site-modules=no Disable site-modules directory in the XEmacs hierarchy,
|
|
116 which is searched before the installation modules.
|
2416
|
117 --package-prefix=PATH Specify a directory under which packages will
|
|
118 be searched. The directories `xemacs-packages' and
|
|
119 (if MULE support exists) `mule-packages' (along with,
|
|
120 optionally, `site-packages') should exist under this
|
|
121 directory. This is preferred to specifying
|
|
122 `--package-path' directly and is equivalent to
|
|
123 --package-path="~/.xemacs::${package-prefix}/\
|
|
124 site-packages:${package_prefix}/xemacs-packages:\
|
|
125 ${package_prefix}/mule-packages"
|
|
126 (or the same without `.../mule-packages' if no
|
|
127 MULE support exists)
|
1202
|
128 --package-path=PATH Directories to search for packages to dump with xemacs.
|
|
129 PATH splits into three parts separated by double
|
|
130 colons (::), an early, a late, and a last part,
|
|
131 corresponding to their position in the various
|
|
132 system paths: The early part is always first,
|
|
133 the late part somewhere in the middle, and the
|
|
134 last part at the very back.
|
|
135 Only the late part gets seen at dump time.
|
|
136 If PATH has only one component, that component
|
|
137 is late.
|
|
138 If PATH has two components, the first is
|
|
139 early, the second is late.
|
|
140 --infopath=PATH Directories to search for Info documents, info dir
|
|
141 and localdir files in case run-time searching
|
|
142 for them fails.
|
215
|
143
|
|
144
|
|
145 Window-system options:
|
1202
|
146 ----------------------
|
215
|
147
|
462
|
148 --with-gtk Support GTK on the X Window System. (EXPERIMENTAL)
|
|
149 --with-gnome Support GNOME on the X Window System. (EXPERIMENTAL)
|
388
|
150 --with-x11 (*) Support the X Window System.
|
|
151 --x-includes=DIR Search for X header files in DIR.
|
|
152 --x-libraries=DIR Search for X libraries in DIR.
|
442
|
153 --with-msw (*) Support MS Windows as a window system (only under
|
724
|
154 Cygwin and MinGW). `--with-msw=no' may be needed on
|
|
155 *nix systems with Wine installed.
|
442
|
156 --with-toolbars=no Don't compile with any toolbar support.
|
|
157 --with-wmcommand=no Compile without realized leader window which will
|
414
|
158 keep the WM_COMMAND property.
|
1617
|
159 --with-athena=TYPE Use TYPE Athena widgets (xaw, 3d, next, 95, or xpm).
|
388
|
160 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid
|
|
161 widgets emulate Motif (mostly) but are faster.
|
|
162 *WARNING* The Motif menubar is currently broken.
|
1617
|
163 Lucid menubars are the default.
|
|
164 --with-scrollbars=TYPE Use TYPE scrollbars (lucid, motif, athena, or no).
|
|
165 Lucid scrollbars are the default.
|
642
|
166 --with-dialogs=TYPE Use TYPE dialog boxes (lucid, motif, athena, or no).
|
1617
|
167 There are no true Lucid dialogs; Motif dialogs will be
|
|
168 used if Motif can be found, else Athena is used.
|
|
169 --with-widgets=TYPE Use TYPE native widgets (lucid, motif, athena, or no).
|
974
|
170 Other widget types are currently unsupported.
|
1617
|
171 There are no true Lucid widgets; Motif widgets will be
|
|
172 used if Motif can be found, else Athena is used.
|
442
|
173 --with-dragndrop Compile in the generic drag and drop API. This is
|
388
|
174 automatically added if one of the drag and drop
|
642
|
175 protocols is found (currently CDE, OffiX, MSWindows,
|
|
176 and GTK).
|
388
|
177 *WARNING* The Drag'n'drop support is under development
|
|
178 and is considered experimental.
|
442
|
179 --with-cde Compile in support for CDE drag and drop.
|
|
180 --with-offix Compile in support for OffiX drag and drop.
|
388
|
181 *WARNING* If you compile in OffiX, you may not be
|
|
182 able to use multiple X displays success-
|
|
183 fully. If the two servers are from
|
|
184 different vendors, the results may be
|
|
185 unpredictable.
|
442
|
186 --with-xmu=no (*) For those unfortunates whose vendors don't ship Xmu.
|
388
|
187 --external-widget Compile with external widget support.
|
442
|
188
|
|
189
|
|
190 TTY (character terminal) options:
|
1202
|
191 ---------------------------------
|
442
|
192
|
|
193 --with-tty=no Don't support ttys.
|
|
194 --with-ncurses (*) Use the ncurses library for tty support.
|
|
195 --with-gpm (*) Compile in GPM mouse support for ttys.
|
|
196
|
|
197
|
|
198 Image options:
|
1202
|
199 --------------
|
442
|
200
|
|
201 --with-xpm (*) Compile with support for XPM images. PRACTICALLY
|
|
202 REQUIRED. Although this library is nonstandard and
|
|
203 a real hassle to build, many basic things (e.g.
|
|
204 toolbars) depend on it, and you will run into
|
|
205 many problems without it.
|
|
206 --with-png (*) Compile with support for PNG images. Recommended
|
|
207 because the images on the About page are not viewable
|
|
208 without it.
|
|
209 --with-jpeg (*) Compile with support for JPEG images. Useful if
|
|
210 you are using a mail, news reader, or web browser
|
|
211 in XEmacs, so that JPEG images can be displayed.
|
|
212 --with-tiff (*) Compile with support for TIFF images. Possibly
|
|
213 useful, for the same reason as JPEG images.
|
|
214 --with-xface (*) Compile with support for X-Face mail headers.
|
|
215 Requires the compface package. Of doubtful
|
|
216 usefulness.
|
|
217 --with-gif=no Compile without the (builtin) support for GIF images.
|
215
|
218
|
|
219
|
442
|
220 Sound options:
|
1202
|
221 --------------
|
442
|
222
|
724
|
223 --with-sound=TYPE[,TYPE[,...]] (*) Compile with sound support.
|
442
|
224 Valid types are `native', `nas' and `esd'.
|
|
225 Prefix a type with 'no' to disable.
|
724
|
226 The first type can be `none' or `all'. `none' means
|
|
227 `nonative,nonas,noesd'. `all' means `native,nas,esd'.
|
|
228 Later options override earlier ones for the same TYPE.
|
1462
|
229 The default is to autodetect all sound support except
|
|
230 for ESD which defaults to off.
|
442
|
231 --native-sound-lib=LIB Native sound support library. Needed on Suns
|
724
|
232 with `--with-sound=native,nas' because both sound
|
|
233 libraries are called libaudio.
|
442
|
234
|
|
235
|
215
|
236 Internationalization options:
|
1202
|
237 -----------------------------
|
215
|
238
|
388
|
239 --with-mule Compile with Mule (MUlti-Lingual Emacs) support,
|
|
240 needed to support non-Latin-1 (including Asian)
|
|
241 languages.
|
|
242 --with-xim=xlib Compile with support for X input methods,
|
|
243 --with-xim=motif (*) Used in conjunction with Mule support.
|
|
244 Use either raw Xlib to provide XIM support, or
|
|
245 the Motif XmIm* routines (when available).
|
|
246 NOTE: On some systems bugs in X11's XIM support
|
|
247 will cause XEmacs to crash, so by default,
|
|
248 no XIM support is compiled in, unless running
|
|
249 on Solaris and the XmIm* routines are detected.
|
|
250 --with-canna (*) Compile with support for Canna (a Japanese input method
|
|
251 used in conjunction with Mule support).
|
724
|
252 --with-wnn (*) Compile with support for Wnn (a multi-language input
|
388
|
253 method used in conjunction with Mule support).
|
724
|
254 --with-wnn6 (*) Compile with support for the commercial package Wnn6.
|
388
|
255 --with-i18n3 Compile with I18N level 3 (support for message
|
|
256 translation). This doesn't currently work.
|
724
|
257 --with-xfs Compile with XFontSet support for internationalized
|
|
258 menubar. Incompatible with `--with-xim=motif'.
|
|
259 `--with-menubars=lucid' (the default) is desirable.
|
215
|
260
|
|
261
|
1202
|
262 File-related options:
|
|
263 ---------------------
|
|
264
|
|
265 --with-default-eol-detection
|
|
266 Turns on by default auto-detection of end-of-line type
|
|
267 when reading a file. Applies to those platforms where
|
|
268 auto-detection is off by default (non-Mule Unix). Has
|
|
269 no effect otherwise.
|
|
270 --with-clash-detection=no
|
|
271 Disable use of lock files to detect multiple edits
|
|
272 of the same file.
|
|
273
|
|
274
|
|
275 Database options:
|
|
276 -----------------
|
|
277
|
|
278 --with-database=TYPE (*) Compile with database support. Valid types are
|
|
279 `no' or a comma-separated list of one or more
|
|
280 of `berkdb' and either `dbm' or `gnudbm'.
|
|
281 --with-ldap (*) Compile with support for the LDAP protocol.
|
|
282 --with-postgresql (*) Compile with support for the PostgreSQL RDBMS.
|
|
283
|
|
284
|
|
285 Mail options:
|
|
286 -------------
|
|
287
|
|
288 --mail-locking=TYPE (*) Specify the locking to be used by movemail to prevent
|
2416
|
289 concurrent updates of mail spool files. Valid types
|
|
290 are `lockf', `flock', `file', `dot' (same as `file'),
|
|
291 `locking', `mmdf' and `pop' (equivalent to
|
|
292 `--with-pop=yes').
|
1202
|
293 --with-pop Support POP for mail retrieval.
|
|
294 --with-kerberos Support Kerberos-authenticated POP.
|
|
295 --with-hesiod Support Hesiod to get the POP server host.
|
|
296
|
|
297
|
|
298 Networking options:
|
|
299 -------------------
|
|
300
|
|
301 --with-tooltalk (*) Support the ToolTalk IPC protocol.
|
|
302 --with-socks Compile with support for SOCKS (an Internet proxy).
|
|
303 --with-dnet (*) Compile with support for DECnet.
|
|
304 --with-ipv6-cname Try IPv6 information first when canonicalizing host
|
|
305 names. This option has no effect unless system
|
|
306 supports getaddrinfo(3) and getnameinfo(3).
|
|
307
|
|
308
|
|
309 Memory allocation options:
|
|
310 --------------------------
|
|
311
|
|
312 --rel-alloc Use the relocating allocator (default for this option
|
|
313 is system-dependent).
|
|
314 --with-dlmalloc Control usage of Doug Lea malloc on systems that have
|
|
315 it in the standard C library (default is to use it if
|
|
316 it is available).
|
|
317 --with-system-malloc Force use of the system malloc, rather than GNU malloc.
|
|
318 --with-debug-malloc Use the debugging malloc package.
|
|
319
|
|
320
|
1984
|
321 Emacs Lisp options:
|
|
322 -------------------
|
|
323
|
|
324 --use-number-lib=TYPE Compile in support for bignums, ratios, or bigfloats
|
|
325 using library support. TYPE must be one of "gmp"
|
1985
|
326 (for GNU MP), "mp" (for BSD MP), or "no" (disabled).
|
1984
|
327
|
|
328
|
215
|
329 Debugging options:
|
1202
|
330 ------------------
|
215
|
331
|
388
|
332 --debug Compile with support for debugging XEmacs.
|
|
333 (Causes code-size increase and little loss of speed.)
|
221
|
334 --error-checking=TYPE[,TYPE]...
|
388
|
335 Compile with internal error-checking added.
|
|
336 Causes noticeable loss of speed. Valid types
|
|
337 are extents, bufpos, malloc, gc, typecheck.
|
|
338 --error-checking=none Disable all internal error-checking (the default).
|
|
339 --error-checking=all Enable all internal error-checking.
|
|
340 --memory-usage-stats Compile with additional code to allow you to
|
|
341 determine what XEmacs's memory is being used
|
|
342 for. Causes a small code increase but no loss
|
|
343 of speed. Normally enabled when --debug is given.
|
771
|
344 --quick-build Speed up the build cycle by leaving out steps where
|
|
345 XEmacs will still work (more or less) without them.
|
|
346 Potentially dangerous if you don't know what you're
|
|
347 doing. This (1) doesn't garbage-collect after loading
|
1303
|
348 each file during dumping, (2) doesn't
|
|
349 automatically rebuild the DOC file (remove it by hand
|
|
350 to get it rebuilt), (3) Removes config.h, lisp.h and
|
|
351 associated files from the dependency lists, so changes
|
|
352 to these files don't automatically cause all .c files
|
|
353 to be rebuilt.
|
388
|
354 --use-union-type Enable or disable use of a union, instead of an
|
|
355 int, for the fundamental Lisp_Object type; this
|
1202
|
356 provides stricter type-checking. WARNING: This has
|
|
357 a tendency to trigger compiler bugs, especially in
|
|
358 combination with other features that increase the
|
|
359 complexity of expressions, for example `--with-mule'
|
|
360 and `--error-checking=all'. Crashes have been
|
|
361 observed with union type in combination with the
|
|
362 two options just mentioned under various versions of
|
|
363 GCC as well as MSVC++ 6.0. Furthermore, many
|
|
364 debuggers have problems (i.e. bugs) dealing with
|
|
365 unions, and even for those that don't, debugging can
|
|
366 be inconvenient because of no syntax for entering a
|
|
367 union. We recommend `--use-union-type' *ONLY* for
|
|
368 testing purposes, not for production builds. If you
|
|
369 are using `-use-union-type' and get some weird
|
|
370 crash, try redoing without union type.
|
392
|
371 --with-quantify Add support for performance debugging using Quantify.
|
|
372 --with-purify Add support for memory debugging using Purify.
|
215
|
373
|
|
374
|
1202
|
375 Developer options:
|
|
376 ------------------
|
215
|
377
|
1202
|
378 --with-workshop Support the Sun WorkShop (formerly Sparcworks)
|
|
379 development environment.
|
|
380 --pdump New, portable, relocatable dumper. Currently works
|
|
381 quite well, somewhere in beta-to-late-beta, we
|
|
382 might say. (Infamous for being the former
|
|
383 "experimental, don't-sue-me-if-your-house-collapses-
|
|
384 and-your-wife-leaves-you" portable dumper.)
|
|
385 --use-kkcc Enable the use of new GC algorithms. (EXPERIMENTAL)
|
|
386 --with-modules (*) Compile in experimental support for dynamically
|
|
387 loaded libraries (Dynamic Shared Objects).
|
215
|
388
|
|
389
|
|
390 If successful, configure leaves its status in config.status. If
|
|
391 unsuccessful after disturbing the status quo, it removes config.status.
|
|
392
|
272
|
393 The configure script also recognizes some environment variables, each
|
442
|
394 of which is equivalent to a corresponding configure flag. Configure
|
|
395 flags take precedence over environment variables, if both are specified.
|
243
|
396
|
442
|
397 environment corresponding
|
|
398 variable configure flag
|
|
399 ----------- --------------
|
|
400 CC --compiler
|
594
|
401 XEMACS_CC --xemacs-compiler
|
442
|
402 CPP --cpp
|
|
403 CFLAGS --cflags
|
|
404 CPPFLAGS --cppflags
|
|
405 LDFLAGS --ldflags
|
|
406 LIBS --libs
|
|
407 LD_RUN_PATH --site-runtime-libraries
|
215
|
408
|
|
409 For more details on the install process, consult the INSTALL file.
|