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