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.
|
1617
|
132 --with-athena=TYPE Use TYPE Athena widgets (xaw, 3d, next, 95, or xpm).
|
388
|
133 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid
|
|
134 widgets emulate Motif (mostly) but are faster.
|
|
135 *WARNING* The Motif menubar is currently broken.
|
1617
|
136 Lucid menubars are the default.
|
|
137 --with-scrollbars=TYPE Use TYPE scrollbars (lucid, motif, athena, or no).
|
|
138 Lucid scrollbars are the default.
|
642
|
139 --with-dialogs=TYPE Use TYPE dialog boxes (lucid, motif, athena, or no).
|
1617
|
140 There are no true Lucid dialogs; Motif dialogs will be
|
|
141 used if Motif can be found, else Athena is used.
|
|
142 --with-widgets=TYPE Use TYPE native widgets (lucid, motif, athena, or no).
|
974
|
143 Other widget types are currently unsupported.
|
1617
|
144 There are no true Lucid widgets; Motif widgets will be
|
|
145 used if Motif can be found, else Athena is used.
|
442
|
146 --with-dragndrop Compile in the generic drag and drop API. This is
|
388
|
147 automatically added if one of the drag and drop
|
642
|
148 protocols is found (currently CDE, OffiX, MSWindows,
|
|
149 and GTK).
|
388
|
150 *WARNING* The Drag'n'drop support is under development
|
|
151 and is considered experimental.
|
442
|
152 --with-cde Compile in support for CDE drag and drop.
|
|
153 --with-offix Compile in support for OffiX drag and drop.
|
388
|
154 *WARNING* If you compile in OffiX, you may not be
|
|
155 able to use multiple X displays success-
|
|
156 fully. If the two servers are from
|
|
157 different vendors, the results may be
|
|
158 unpredictable.
|
442
|
159 --with-xmu=no (*) For those unfortunates whose vendors don't ship Xmu.
|
388
|
160 --external-widget Compile with external widget support.
|
442
|
161
|
|
162
|
|
163 TTY (character terminal) options:
|
1202
|
164 ---------------------------------
|
442
|
165
|
|
166 --with-tty=no Don't support ttys.
|
|
167 --with-ncurses (*) Use the ncurses library for tty support.
|
|
168 --with-gpm (*) Compile in GPM mouse support for ttys.
|
|
169
|
|
170
|
|
171 Image options:
|
1202
|
172 --------------
|
442
|
173
|
|
174 --with-xpm (*) Compile with support for XPM images. PRACTICALLY
|
|
175 REQUIRED. Although this library is nonstandard and
|
|
176 a real hassle to build, many basic things (e.g.
|
|
177 toolbars) depend on it, and you will run into
|
|
178 many problems without it.
|
|
179 --with-png (*) Compile with support for PNG images. Recommended
|
|
180 because the images on the About page are not viewable
|
|
181 without it.
|
|
182 --with-jpeg (*) Compile with support for JPEG images. Useful if
|
|
183 you are using a mail, news reader, or web browser
|
|
184 in XEmacs, so that JPEG images can be displayed.
|
|
185 --with-tiff (*) Compile with support for TIFF images. Possibly
|
|
186 useful, for the same reason as JPEG images.
|
|
187 --with-xface (*) Compile with support for X-Face mail headers.
|
|
188 Requires the compface package. Of doubtful
|
|
189 usefulness.
|
|
190 --with-gif=no Compile without the (builtin) support for GIF images.
|
215
|
191
|
|
192
|
442
|
193 Sound options:
|
1202
|
194 --------------
|
442
|
195
|
724
|
196 --with-sound=TYPE[,TYPE[,...]] (*) Compile with sound support.
|
442
|
197 Valid types are `native', `nas' and `esd'.
|
|
198 Prefix a type with 'no' to disable.
|
724
|
199 The first type can be `none' or `all'. `none' means
|
|
200 `nonative,nonas,noesd'. `all' means `native,nas,esd'.
|
|
201 Later options override earlier ones for the same TYPE.
|
1462
|
202 The default is to autodetect all sound support except
|
|
203 for ESD which defaults to off.
|
442
|
204 --native-sound-lib=LIB Native sound support library. Needed on Suns
|
724
|
205 with `--with-sound=native,nas' because both sound
|
|
206 libraries are called libaudio.
|
442
|
207
|
|
208
|
215
|
209 Internationalization options:
|
1202
|
210 -----------------------------
|
215
|
211
|
388
|
212 --with-mule Compile with Mule (MUlti-Lingual Emacs) support,
|
|
213 needed to support non-Latin-1 (including Asian)
|
|
214 languages.
|
|
215 --with-xim=xlib Compile with support for X input methods,
|
|
216 --with-xim=motif (*) Used in conjunction with Mule support.
|
|
217 Use either raw Xlib to provide XIM support, or
|
|
218 the Motif XmIm* routines (when available).
|
|
219 NOTE: On some systems bugs in X11's XIM support
|
|
220 will cause XEmacs to crash, so by default,
|
|
221 no XIM support is compiled in, unless running
|
|
222 on Solaris and the XmIm* routines are detected.
|
|
223 --with-canna (*) Compile with support for Canna (a Japanese input method
|
|
224 used in conjunction with Mule support).
|
724
|
225 --with-wnn (*) Compile with support for Wnn (a multi-language input
|
388
|
226 method used in conjunction with Mule support).
|
724
|
227 --with-wnn6 (*) Compile with support for the commercial package Wnn6.
|
388
|
228 --with-i18n3 Compile with I18N level 3 (support for message
|
|
229 translation). This doesn't currently work.
|
724
|
230 --with-xfs Compile with XFontSet support for internationalized
|
|
231 menubar. Incompatible with `--with-xim=motif'.
|
|
232 `--with-menubars=lucid' (the default) is desirable.
|
215
|
233
|
|
234
|
1202
|
235 File-related options:
|
|
236 ---------------------
|
|
237
|
|
238 --with-default-eol-detection
|
|
239 Turns on by default auto-detection of end-of-line type
|
|
240 when reading a file. Applies to those platforms where
|
|
241 auto-detection is off by default (non-Mule Unix). Has
|
|
242 no effect otherwise.
|
|
243 --with-clash-detection=no
|
|
244 Disable use of lock files to detect multiple edits
|
|
245 of the same file.
|
|
246
|
|
247
|
|
248 Database options:
|
|
249 -----------------
|
|
250
|
|
251 --with-database=TYPE (*) Compile with database support. Valid types are
|
|
252 `no' or a comma-separated list of one or more
|
|
253 of `berkdb' and either `dbm' or `gnudbm'.
|
|
254 --with-ldap (*) Compile with support for the LDAP protocol.
|
|
255 --with-postgresql (*) Compile with support for the PostgreSQL RDBMS.
|
|
256
|
|
257
|
|
258 Mail options:
|
|
259 -------------
|
|
260
|
|
261 --mail-locking=TYPE (*) Specify the locking to be used by movemail to prevent
|
|
262 concurrent updates of mail spool files. Valid types
|
|
263 are `lockf', `flock', `dot', `locking' or `mmdf'.
|
|
264 --with-pop Support POP for mail retrieval.
|
|
265 --with-kerberos Support Kerberos-authenticated POP.
|
|
266 --with-hesiod Support Hesiod to get the POP server host.
|
|
267
|
|
268
|
|
269 Networking options:
|
|
270 -------------------
|
|
271
|
|
272 --with-tooltalk (*) Support the ToolTalk IPC protocol.
|
|
273 --with-socks Compile with support for SOCKS (an Internet proxy).
|
|
274 --with-dnet (*) Compile with support for DECnet.
|
|
275 --with-ipv6-cname Try IPv6 information first when canonicalizing host
|
|
276 names. This option has no effect unless system
|
|
277 supports getaddrinfo(3) and getnameinfo(3).
|
|
278
|
|
279
|
|
280 Memory allocation options:
|
|
281 --------------------------
|
|
282
|
|
283 --rel-alloc Use the relocating allocator (default for this option
|
|
284 is system-dependent).
|
|
285 --with-dlmalloc Control usage of Doug Lea malloc on systems that have
|
|
286 it in the standard C library (default is to use it if
|
|
287 it is available).
|
|
288 --with-system-malloc Force use of the system malloc, rather than GNU malloc.
|
|
289 --with-debug-malloc Use the debugging malloc package.
|
|
290
|
|
291
|
215
|
292 Debugging options:
|
1202
|
293 ------------------
|
215
|
294
|
388
|
295 --debug Compile with support for debugging XEmacs.
|
|
296 (Causes code-size increase and little loss of speed.)
|
221
|
297 --error-checking=TYPE[,TYPE]...
|
388
|
298 Compile with internal error-checking added.
|
|
299 Causes noticeable loss of speed. Valid types
|
|
300 are extents, bufpos, malloc, gc, typecheck.
|
|
301 --error-checking=none Disable all internal error-checking (the default).
|
|
302 --error-checking=all Enable all internal error-checking.
|
|
303 --memory-usage-stats Compile with additional code to allow you to
|
|
304 determine what XEmacs's memory is being used
|
|
305 for. Causes a small code increase but no loss
|
|
306 of speed. Normally enabled when --debug is given.
|
771
|
307 --quick-build Speed up the build cycle by leaving out steps where
|
|
308 XEmacs will still work (more or less) without them.
|
|
309 Potentially dangerous if you don't know what you're
|
|
310 doing. This (1) doesn't garbage-collect after loading
|
1303
|
311 each file during dumping, (2) doesn't
|
|
312 automatically rebuild the DOC file (remove it by hand
|
|
313 to get it rebuilt), (3) Removes config.h, lisp.h and
|
|
314 associated files from the dependency lists, so changes
|
|
315 to these files don't automatically cause all .c files
|
|
316 to be rebuilt.
|
388
|
317 --use-union-type Enable or disable use of a union, instead of an
|
|
318 int, for the fundamental Lisp_Object type; this
|
1202
|
319 provides stricter type-checking. WARNING: This has
|
|
320 a tendency to trigger compiler bugs, especially in
|
|
321 combination with other features that increase the
|
|
322 complexity of expressions, for example `--with-mule'
|
|
323 and `--error-checking=all'. Crashes have been
|
|
324 observed with union type in combination with the
|
|
325 two options just mentioned under various versions of
|
|
326 GCC as well as MSVC++ 6.0. Furthermore, many
|
|
327 debuggers have problems (i.e. bugs) dealing with
|
|
328 unions, and even for those that don't, debugging can
|
|
329 be inconvenient because of no syntax for entering a
|
|
330 union. We recommend `--use-union-type' *ONLY* for
|
|
331 testing purposes, not for production builds. If you
|
|
332 are using `-use-union-type' and get some weird
|
|
333 crash, try redoing without union type.
|
392
|
334 --with-quantify Add support for performance debugging using Quantify.
|
|
335 --with-purify Add support for memory debugging using Purify.
|
215
|
336
|
|
337
|
1202
|
338 Developer options:
|
|
339 ------------------
|
215
|
340
|
1202
|
341 --with-workshop Support the Sun WorkShop (formerly Sparcworks)
|
|
342 development environment.
|
|
343 --pdump New, portable, relocatable dumper. Currently works
|
|
344 quite well, somewhere in beta-to-late-beta, we
|
|
345 might say. (Infamous for being the former
|
|
346 "experimental, don't-sue-me-if-your-house-collapses-
|
|
347 and-your-wife-leaves-you" portable dumper.)
|
|
348 --use-kkcc Enable the use of new GC algorithms. (EXPERIMENTAL)
|
|
349 --with-modules (*) Compile in experimental support for dynamically
|
|
350 loaded libraries (Dynamic Shared Objects).
|
215
|
351
|
|
352
|
|
353 If successful, configure leaves its status in config.status. If
|
|
354 unsuccessful after disturbing the status quo, it removes config.status.
|
|
355
|
272
|
356 The configure script also recognizes some environment variables, each
|
442
|
357 of which is equivalent to a corresponding configure flag. Configure
|
|
358 flags take precedence over environment variables, if both are specified.
|
243
|
359
|
442
|
360 environment corresponding
|
|
361 variable configure flag
|
|
362 ----------- --------------
|
|
363 CC --compiler
|
594
|
364 XEMACS_CC --xemacs-compiler
|
442
|
365 CPP --cpp
|
|
366 CFLAGS --cflags
|
|
367 CPPFLAGS --cppflags
|
|
368 LDFLAGS --ldflags
|
|
369 LIBS --libs
|
|
370 LD_RUN_PATH --site-runtime-libraries
|
215
|
371
|
|
372 For more details on the install process, consult the INSTALL file.
|