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
|
276
|
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
|
|
12 Use colons (or quoted spaces) to separate directory names in option
|
|
13 values which are PATHs (i.e. lists of directories).
|
|
14
|
|
15 General options:
|
|
16
|
|
17 --help Issue this usage message.
|
|
18 --verbose Display the results of configure tests.
|
|
19 --extra-verbose Display even more information, useful for debugging.
|
|
20
|
|
21
|
|
22 Compilation options:
|
|
23
|
272
|
24 --compiler=prog C compiler to use.
|
215
|
25 --with-gcc (*) Use GCC to compile XEmacs.
|
272
|
26 --without-gcc Don't use GCC to compile XEmacs.
|
215
|
27 --with-gnu-make Write the Makefiles to take advantage of
|
|
28 special features of GNU Make. (GNU Make
|
|
29 works fine on the Makefiles even without this
|
|
30 option. This just allows for simultaneous
|
|
31 in-place and --srcdir building.)
|
272
|
32 --cflags=FLAGS Compiler flags (such as -O)
|
|
33 --cpp=prog C preprocessor to use (e.g. /usr/ccs/lib/cpp or cc -E)
|
|
34 --cppflags=FLAGS C preprocessor flags (e.g. -I/foo or -Dfoo=bar)
|
|
35 --libs=LIBS Additional libraries (e.g. -lfoo)
|
|
36 --ldflags=FLAGS Additional linker flags (e.g. -L/foo)
|
215
|
37 --site-includes=PATH List of directories to search first for header files.
|
|
38 --site-libraries=PATH List of directories to search first for libraries.
|
243
|
39 --site-prefixes=PATH List of directories to search for include/ and lib/
|
|
40 subdirectories, just after 'site-includes' and
|
215
|
41 'site-libraries'.
|
|
42 --site-runtime-libraries=PATH
|
|
43 List of ALL directories to search for dynamically
|
|
44 linked libraries at run time.
|
|
45 --dynamic=yes Link dynamically if supported by system.
|
|
46 --dynamic=no Force static linking on systems where dynamic
|
|
47 linking is the default.
|
|
48 --srcdir=DIR Look for the XEmacs source files in DIR.
|
|
49 See also --with-gnu-make.
|
272
|
50 --use-indexed-lrecord-implementation
|
|
51 --use-minimal-tagbits
|
|
52 --gung-ho Build with new-style Lisp_Objects.
|
|
53 Equivalent to both of the 2 previous options combined.
|
215
|
54
|
|
55
|
|
56 Installation options:
|
|
57
|
|
58 --prefix=DIR Install files below DIR. Defaults to `/usr/local'.
|
|
59
|
|
60
|
|
61 Window-system options:
|
|
62
|
|
63 --with-x11 (*) Support the X Window System.
|
272
|
64 --without-x11 Don't support X.
|
215
|
65 --x-includes=DIR Search for X header files in DIR.
|
|
66 --x-libraries=DIR Search for X libraries in DIR.
|
272
|
67 --without-toolbars Don't compile with any toolbar support.
|
|
68 --without-session Compile without realized leader window which will
|
215
|
69 keep the WM_COMMAND property. Required for proper
|
|
70 session-management.
|
|
71 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid
|
|
72 widgets emulate Motif (mostly) but are faster.
|
|
73 *WARNING* The Motif menubar is currently broken.
|
|
74 --with-scrollbars=TYPE Use TYPE scrollbars
|
|
75 (lucid, motif, athena, athena3d, or no).
|
|
76 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, athena3d, or no).
|
|
77 Lucid menubars and scrollbars are the default.
|
|
78 Motif dialog boxes will be used if Motif can be found.
|
|
79 --with-cde (*) Compile in support for CDE drag and drop.
|
272
|
80 --with-offix Compile in support for OffiX drag and drop.
|
|
81 --without-xmu (*) For those unfortunates whose vendors don't ship Xmu.
|
215
|
82 --external-widget Compile with external widget support.
|
|
83 --with-xpm (*) Compile with support for XPM files.
|
|
84 It is highly recommended that you obtain XPM
|
|
85 (version 3.4h or better) if you don't already
|
|
86 have it. Get it from the XEmacs FTP site.
|
|
87 --with-xface (*) Compile with support for X-Face mail header
|
|
88 conversion. Requires the compface library.
|
|
89 Get it from the XEmacs FTP site.
|
265
|
90 --with-gif (*) Compile with support for GIF image conversion.
|
|
91 Requires GifLib 3.1 or greater. Get it from
|
|
92 the XEmacs FTP site.
|
259
|
93 --with-jpeg (*) Compile with support for JPEG image conversion.
|
|
94 Requires libjpeg from the Independent JPEG Group.
|
215
|
95 Get it from the XEmacs FTP site.
|
259
|
96 --with-png (*) Compile with support for PNG image conversion.
|
|
97 Requires libpng. Get it from the XEmacs FTP site.
|
265
|
98 --with-tiff (*) Compile with support for TIFF image conversion.
|
|
99 Requires Sam Lefflier's libtiff library.
|
|
100 Get if from the XEmacs FTP site.
|
215
|
101
|
|
102
|
|
103 TTY options:
|
|
104
|
272
|
105 --without-tty Don't support TTY-s.
|
215
|
106 --with-ncurses (*) Use the ncurses library for tty support.
|
|
107 --with-gpm (*) Compile in support for General Purpose Mouse.
|
|
108
|
|
109
|
|
110 Additional features:
|
|
111
|
|
112 --with-tooltalk (*) Support the ToolTalk IPC protocol.
|
|
113 --with-workshop Support the Sun WorkShop (formerly Sparcworks)
|
|
114 development environment.
|
|
115 --with-socks Compile with support for SOCKS (an Internet proxy).
|
221
|
116 --with-database=TYPE (*) Compile with database support. Valid types are
|
215
|
117 `no' or a comma-separated list of one or more
|
|
118 of `dbm', `gnudbm', or `berkdb'.
|
|
119 --with-sound=native (*) Compile with native sound support.
|
|
120 --with-sound=nas Compile with network sound support.
|
|
121 --with-sound=both Compile with native and network sound support.
|
|
122 --native-sound-lib=LIB Native sound support library. Needed on Suns
|
|
123 with --with-sound=both because both sound libraries
|
|
124 are called libaudio.
|
|
125 --with-pop support POP for mail retrieval
|
|
126 --with-kerberos support Kerberos-authenticated POP
|
|
127 --with-hesiod support Hesiod to get the POP server host
|
|
128 --with-dnet (*) Compile with support for DECnet.
|
259
|
129 --with-ldap (*) Compile with support for the LDAP protocol (requires
|
|
130 installed LDAP libraries on the system).
|
215
|
131 --mail-locking=TYPE (*) Specify the locking to be used by movemail to prevent
|
|
132 concurrent updates of mail spool files. Valid types
|
|
133 are `lockf', `flock', and `file'.
|
269
|
134 --with-site-lisp Allow for a site-lisp directory in the XEmacs hierarchy
|
|
135 searched before the installation packages.
|
215
|
136 --package-path=PATH Directories to search for packages to dump with xemacs.
|
274
|
137 PATH splits into three parts separated
|
|
138 by double colons (::), an early, a late, and a last part,
|
|
139 corresponding to their position in the various
|
|
140 system paths: The early part is always first,
|
|
141 the late part somewhere in the middle, and the
|
|
142 last part at the very back.
|
|
143 Only the late part gets seen at dump time.
|
|
144 If PATH has only one component, that component
|
|
145 is late.
|
|
146 If PATH has two components, the first is
|
|
147 early, the second is late.
|
221
|
148 --infodir=DIR Directory to install the XEmacs Info manuals and dir in.
|
215
|
149 --infopath=PATH Directories to search for Info documents, info dir
|
269
|
150 and localdir files in case run-time searching
|
|
151 for them fails.
|
215
|
152
|
|
153 Internationalization options:
|
|
154
|
|
155 --with-mule Compile with Mule (MUlti-Lingual Emacs) support,
|
272
|
156 needed to support non-Latin-1 (including Asian) languages.
|
215
|
157 --with-xim=xlib Compile with support for X input methods,
|
|
158 --with-xim=motif (*) Used in conjunction with Mule support.
|
|
159 Use either raw Xlib to provide XIM support, or
|
|
160 the Motif XmIm* routines (when available).
|
|
161 NOTE: On some systems bugs in X11's XIM support
|
|
162 will cause XEmacs to crash, so by default,
|
|
163 no XIM support is compiled in, unless running
|
|
164 on Solaris and the XmIm* routines are detected.
|
|
165 --with-canna (*) Compile with support for Canna (a Japanese input method
|
|
166 used in conjunction with Mule support).
|
|
167 --with-wnn (*) Compile with support for WNN (a multi-language input method
|
|
168 used in conjunction with Mule support).
|
265
|
169 --with-wnn6 (*) Compile with support for the comercial package WNN version 6
|
215
|
170 --with-i18n3 Compile with I18N level 3 (support for message
|
|
171 translation). This doesn't currently work.
|
|
172 --with-xfs Compile with XFontSet support for bilingual menubar.
|
|
173 Can't use this option with --with-xim=motif or xlib.
|
|
174 And should have --with-menubars=lucid.
|
|
175
|
|
176
|
|
177 Debugging options:
|
|
178
|
|
179 --debug Compile with support for debugging XEmacs.
|
|
180 (Causes code-size increase and little loss of speed.)
|
221
|
181 --error-checking=TYPE[,TYPE]...
|
215
|
182 Compile with internal error-checking added.
|
|
183 Causes noticeable loss of speed. Valid types
|
|
184 are extents, bufpos, malloc, gc, typecheck.
|
|
185 --error-checking=none Disable all internal error-checking (the default).
|
|
186 --error-checking=all Enable all internal error-checking.
|
|
187 --memory-usage-stats Compile with additional code to allow you to
|
|
188 determine what XEmacs's memory is being used
|
|
189 for. Causes a small code increase but no loss
|
|
190 of speed. Normally enabled when --debug is given.
|
|
191 --no-doc-file Don't rebuild the DOC file unless it's explicitly
|
|
192 deleted. Only use during development. (It speeds
|
|
193 up the compile-run-test cycle.)
|
|
194 --use-union-type Enable or disable use of a union, instead of an
|
|
195 int, for the fundamental Lisp_Object type; this
|
|
196 provides stricter type-checking. Only works with
|
|
197 some systems and compilers.
|
|
198
|
|
199
|
|
200 Other options:
|
|
201
|
|
202 --puresize=VALUE Override default amount of space for pure Lisp code.
|
|
203 --rel-alloc Use the relocating allocator (default for this option
|
|
204 is system-dependent).
|
261
|
205 --with-dlmalloc Control usage of Doug Lea malloc on systems that have
|
|
206 it in the standard C library (default is to use it if
|
|
207 it is available).
|
215
|
208 --with-clash-detection Use lock files to detect multiple edits of the same file.
|
|
209 The default is to not do clash detection.
|
221
|
210 --lockdir=DIR The directory to put clash detection files in, such as
|
215
|
211 `/var/lock/emacs'.
|
|
212 Defaults to `${statedir}/xemacs/lock'.
|
|
213 --with-system-malloc Force use of the system malloc, rather than GNU malloc.
|
|
214 --with-debug-malloc Use the debugging malloc package.
|
|
215
|
269
|
216 You may also specify any of the `path' variables found in Makefile.in,
|
|
217 including --bindir, --libdir, --lispdir, --sitelispdir, --datadir,
|
|
218 --infodir, --mandir and so on. Note that we recommend against
|
|
219 explicitly setting any of these variables. See the INSTALL file for a
|
|
220 complete list plus the reasons we advise not changing them.
|
215
|
221
|
|
222 If successful, configure leaves its status in config.status. If
|
|
223 unsuccessful after disturbing the status quo, it removes config.status.
|
|
224
|
272
|
225 The configure script also recognizes some environment variables, each
|
|
226 of which is equivalent to a corresponding configure flag. A specified
|
|
227 configure flag always overrides the environment variable.
|
243
|
228
|
272
|
229 envvar configure flag
|
|
230 ----- --------------
|
|
231 CC --compiler
|
|
232 CPP --cpp
|
|
233 CFLAGS --cflags
|
|
234 CPPFLAGS --cppflags
|
|
235 LDFLAGS --ldflags
|
|
236 LIBS --libs
|
|
237 LD_RUN_PATH --site-runtime-libraries
|
215
|
238
|
|
239 For more details on the install process, consult the INSTALL file.
|