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