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