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