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
|
|
69 Cygwin and MinGW).
|
|
70 --with-toolbars=no Don't compile with any toolbar support.
|
|
71 --with-wmcommand=no Compile without realized leader window which will
|
414
|
72 keep the WM_COMMAND property.
|
434
|
73 --with-athena=TYPE Use TYPE Athena widgets
|
|
74 (xaw, 3d, next, 95, or xpm)
|
388
|
75 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid
|
|
76 widgets emulate Motif (mostly) but are faster.
|
|
77 *WARNING* The Motif menubar is currently broken.
|
|
78 --with-scrollbars=TYPE Use TYPE scrollbars
|
434
|
79 (lucid, motif, athena, or no).
|
642
|
80 --with-dialogs=TYPE Use TYPE dialog boxes (lucid, motif, athena, or no).
|
388
|
81 Lucid menubars and scrollbars are the default.
|
|
82 Motif dialog boxes will be used if Motif can be found.
|
642
|
83 --with-widgets=TYPE Use TYPE widgets (lucid, motif, athena, or no).
|
420
|
84 Motif widgets will be used if Motif can be found.
|
|
85 Other widget types are currently unsupported.
|
442
|
86 --with-dragndrop Compile in the generic drag and drop API. This is
|
388
|
87 automatically added if one of the drag and drop
|
642
|
88 protocols is found (currently CDE, OffiX, MSWindows,
|
|
89 and GTK).
|
388
|
90 *WARNING* The Drag'n'drop support is under development
|
|
91 and is considered experimental.
|
442
|
92 --with-cde Compile in support for CDE drag and drop.
|
|
93 --with-offix Compile in support for OffiX drag and drop.
|
388
|
94 *WARNING* If you compile in OffiX, you may not be
|
|
95 able to use multiple X displays success-
|
|
96 fully. If the two servers are from
|
|
97 different vendors, the results may be
|
|
98 unpredictable.
|
442
|
99 --with-xmu=no (*) For those unfortunates whose vendors don't ship Xmu.
|
388
|
100 --external-widget Compile with external widget support.
|
442
|
101
|
|
102
|
|
103 TTY (character terminal) options:
|
|
104
|
|
105 --with-tty=no Don't support ttys.
|
|
106 --with-ncurses (*) Use the ncurses library for tty support.
|
|
107 --with-gpm (*) Compile in GPM mouse support for ttys.
|
|
108
|
|
109
|
|
110 Image options:
|
|
111
|
|
112 --with-xpm (*) Compile with support for XPM images. PRACTICALLY
|
|
113 REQUIRED. Although this library is nonstandard and
|
|
114 a real hassle to build, many basic things (e.g.
|
|
115 toolbars) depend on it, and you will run into
|
|
116 many problems without it.
|
|
117 --with-png (*) Compile with support for PNG images. Recommended
|
|
118 because the images on the About page are not viewable
|
|
119 without it.
|
|
120 --with-jpeg (*) Compile with support for JPEG images. Useful if
|
|
121 you are using a mail, news reader, or web browser
|
|
122 in XEmacs, so that JPEG images can be displayed.
|
|
123 --with-tiff (*) Compile with support for TIFF images. Possibly
|
|
124 useful, for the same reason as JPEG images.
|
|
125 --with-xface (*) Compile with support for X-Face mail headers.
|
|
126 Requires the compface package. Of doubtful
|
|
127 usefulness.
|
|
128 --with-gif=no Compile without the (builtin) support for GIF images.
|
215
|
129
|
|
130
|
442
|
131 Sound options:
|
|
132
|
|
133 --with-sound=TYPE,[TYPE],... Compile with native sound support.
|
|
134 Valid types are `native', `nas' and `esd'.
|
|
135 Prefix a type with 'no' to disable.
|
|
136 The first option can be `none' or `all'.
|
|
137 `none' is a synonym for `nonative,nonas,noesd'.
|
|
138 `all' is a synonym for native,nas,esd or `all'.
|
|
139 The default is to autodetect all sound support.
|
|
140 --native-sound-lib=LIB Native sound support library. Needed on Suns
|
|
141 with --with-sound=both because both sound libraries
|
|
142 are called libaudio.
|
|
143
|
|
144
|
|
145 Database options:
|
406
|
146
|
442
|
147 --with-database=TYPE (*) Compile with database support. Valid types are
|
|
148 `no' or a comma-separated list of one or more
|
|
149 of `berkdb' and either `dbm' or `gnudbm'.
|
|
150 --with-ldap (*) Compile with support for the LDAP protocol.
|
|
151 --with-postgresql (*) Compile with support for the PostgreSQL RDBMS.
|
|
152
|
|
153
|
|
154 Mail options:
|
|
155
|
|
156 --mail-locking=TYPE (*) Specify the locking to be used by movemail to prevent
|
|
157 concurrent updates of mail spool files. Valid types
|
642
|
158 are `lockf', `flock', `dot', `locking' or `mmdf'.
|
442
|
159 --with-pop Support POP for mail retrieval.
|
|
160 --with-kerberos Support Kerberos-authenticated POP.
|
|
161 --with-hesiod Support Hesiod to get the POP server host.
|
406
|
162
|
|
163
|
|
164 Additional features:
|
|
165
|
|
166 --with-tooltalk (*) Support the ToolTalk IPC protocol.
|
|
167 --with-workshop Support the Sun WorkShop (formerly Sparcworks)
|
|
168 development environment.
|
|
169 --with-socks Compile with support for SOCKS (an Internet proxy).
|
|
170 --with-dnet (*) Compile with support for DECnet.
|
442
|
171 --with-modules Compile in experimental support for dynamically
|
|
172 loaded libraries (Dynamic Shared Objects).
|
610
|
173 --with-netinstall Compile in support for installation over the internet.
|
388
|
174 --with-site-lisp=yes Allow for a site-lisp directory in the XEmacs hierarchy
|
|
175 searched before the installation packages.
|
|
176 --with-site-modules=no Disable site-modules directory in the XEmacs hierarchy,
|
|
177 which is searched before the installation modules.
|
215
|
178 --package-path=PATH Directories to search for packages to dump with xemacs.
|
388
|
179 PATH splits into three parts separated by double
|
|
180 colons (::), an early, a late, and a last part,
|
274
|
181 corresponding to their position in the various
|
380
|
182 system paths: The early part is always first,
|
|
183 the late part somewhere in the middle, and the
|
274
|
184 last part at the very back.
|
|
185 Only the late part gets seen at dump time.
|
380
|
186 If PATH has only one component, that component
|
274
|
187 is late.
|
|
188 If PATH has two components, the first is
|
|
189 early, the second is late.
|
388
|
190 --infodir=DIR Directory to install XEmacs Info manuals and dir in.
|
|
191 --infopath=PATH Directories to search for Info documents, info dir
|
|
192 and localdir files in case run-time searching
|
269
|
193 for them fails.
|
388
|
194 --moduledir=DIR Directory to install dynamic modules in.
|
442
|
195 --pdump New, experimental, non-working, don't-sue-me-if-
|
|
196 your-house-collapses-and-your-wife-leaves-you,
|
|
197 portable dumper.
|
464
|
198 --with-file-coding Allows transparent use of "foreign" line break
|
|
199 conventions in text files (such as LF-delimited text
|
|
200 imported from a Unix system to a Windows environment),
|
|
201 optionally including autodetection. Defaults to ON
|
|
202 on Windows, OFF on Unix.
|
215
|
203
|
|
204 Internationalization options:
|
|
205
|
388
|
206 --with-mule Compile with Mule (MUlti-Lingual Emacs) support,
|
|
207 needed to support non-Latin-1 (including Asian)
|
|
208 languages.
|
|
209 --with-xim=xlib Compile with support for X input methods,
|
|
210 --with-xim=motif (*) Used in conjunction with Mule support.
|
|
211 Use either raw Xlib to provide XIM support, or
|
|
212 the Motif XmIm* routines (when available).
|
|
213 NOTE: On some systems bugs in X11's XIM support
|
|
214 will cause XEmacs to crash, so by default,
|
|
215 no XIM support is compiled in, unless running
|
|
216 on Solaris and the XmIm* routines are detected.
|
|
217 --with-canna (*) Compile with support for Canna (a Japanese input method
|
|
218 used in conjunction with Mule support).
|
|
219 --with-wnn (*) Compile with support for WNN (a multi-language input
|
|
220 method used in conjunction with Mule support).
|
442
|
221 --with-wnn6 (*) Compile with support for the commercial package WNN6.
|
388
|
222 --with-i18n3 Compile with I18N level 3 (support for message
|
|
223 translation). This doesn't currently work.
|
|
224 --with-xfs Compile with XFontSet support for bilingual menubar.
|
|
225 Can't use this option with --with-xim=motif or xlib.
|
|
226 And should have --with-menubars=lucid.
|
215
|
227
|
|
228
|
|
229 Debugging options:
|
|
230
|
388
|
231 --debug Compile with support for debugging XEmacs.
|
|
232 (Causes code-size increase and little loss of speed.)
|
221
|
233 --error-checking=TYPE[,TYPE]...
|
388
|
234 Compile with internal error-checking added.
|
|
235 Causes noticeable loss of speed. Valid types
|
|
236 are extents, bufpos, malloc, gc, typecheck.
|
|
237 --error-checking=none Disable all internal error-checking (the default).
|
|
238 --error-checking=all Enable all internal error-checking.
|
|
239 --memory-usage-stats Compile with additional code to allow you to
|
|
240 determine what XEmacs's memory is being used
|
|
241 for. Causes a small code increase but no loss
|
|
242 of speed. Normally enabled when --debug is given.
|
|
243 --no-doc-file Don't rebuild the DOC file unless it's explicitly
|
|
244 deleted. Only use during development. (It speeds
|
|
245 up the compile-run-test cycle.)
|
|
246 --use-union-type Enable or disable use of a union, instead of an
|
|
247 int, for the fundamental Lisp_Object type; this
|
|
248 provides stricter type-checking. Only works with
|
|
249 some systems and compilers.
|
392
|
250 --with-quantify Add support for performance debugging using Quantify.
|
|
251 --with-purify Add support for memory debugging using Purify.
|
215
|
252
|
|
253
|
|
254 Other options:
|
|
255
|
388
|
256 --rel-alloc Use the relocating allocator (default for this option
|
|
257 is system-dependent).
|
|
258 --with-dlmalloc Control usage of Doug Lea malloc on systems that have
|
|
259 it in the standard C library (default is to use it if
|
|
260 it is available).
|
392
|
261 --with-system-malloc Force use of the system malloc, rather than GNU malloc.
|
|
262 --with-debug-malloc Use the debugging malloc package.
|
388
|
263 --with-clash-detection Use lock files to detect multiple edits of the same
|
442
|
264 file. The default is to do clash detection.
|
215
|
265
|
269
|
266 You may also specify any of the `path' variables found in Makefile.in,
|
420
|
267 including --bindir, --libdir, --docdir, --lispdir, --sitelispdir,
|
|
268 --datadir, --infodir, --mandir and so on. Note that we recommend
|
|
269 against explicitly setting any of these variables. See the INSTALL
|
|
270 file for a complete list plus the reasons we advise not changing them.
|
215
|
271
|
|
272 If successful, configure leaves its status in config.status. If
|
|
273 unsuccessful after disturbing the status quo, it removes config.status.
|
|
274
|
272
|
275 The configure script also recognizes some environment variables, each
|
442
|
276 of which is equivalent to a corresponding configure flag. Configure
|
|
277 flags take precedence over environment variables, if both are specified.
|
243
|
278
|
442
|
279 environment corresponding
|
|
280 variable configure flag
|
|
281 ----------- --------------
|
|
282 CC --compiler
|
594
|
283 XEMACS_CC --xemacs-compiler
|
442
|
284 CPP --cpp
|
|
285 CFLAGS --cflags
|
|
286 CPPFLAGS --cppflags
|
|
287 LDFLAGS --ldflags
|
|
288 LIBS --libs
|
|
289 LD_RUN_PATH --site-runtime-libraries
|
215
|
290
|
|
291 For more details on the install process, consult the INSTALL file.
|