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
|
|
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
|
388
|
17 --help Issue this usage message.
|
412
|
18 --verbose Display the results of configure tests.
|
|
19 --extra-verbose Display even more information, useful for debugging.
|
215
|
20
|
|
21
|
|
22 Compilation options:
|
|
23
|
412
|
24 --compiler=prog C compiler to use.
|
388
|
25 --with-gcc (*) Use GCC to compile XEmacs.
|
412
|
26 --without-gcc Don't use GCC to compile XEmacs.
|
388
|
27 --cflags=FLAGS Compiler flags (such as -O)
|
412
|
28 --cpp=prog C preprocessor to use (e.g. /usr/ccs/lib/cpp or cc -E)
|
388
|
29 --cppflags=FLAGS C preprocessor flags (e.g. -I/foo or -Dfoo=bar)
|
|
30 --libs=LIBS Additional libraries (e.g. -lfoo)
|
|
31 --ldflags=FLAGS Additional linker flags (e.g. -L/foo)
|
412
|
32 --site-includes=PATH List of directories to search first for header files.
|
|
33 --site-libraries=PATH List of directories to search first for libraries.
|
243
|
34 --site-prefixes=PATH List of directories to search for include/ and lib/
|
|
35 subdirectories, just after 'site-includes' and
|
412
|
36 'site-libraries'.
|
215
|
37 --site-runtime-libraries=PATH
|
388
|
38 List of ALL directories to search for dynamically
|
412
|
39 linked libraries at run time.
|
388
|
40 --dynamic=yes Link dynamically if supported by system.
|
|
41 --dynamic=no Force static linking on systems where dynamic
|
|
42 linking is the default.
|
|
43 --srcdir=DIR Look for the XEmacs source files in DIR.
|
|
44 Works best when using GNU Make.
|
215
|
45
|
|
46
|
|
47 Installation options:
|
|
48
|
388
|
49 --prefix=DIR Install files below DIR. Defaults to `/usr/local'.
|
215
|
50
|
|
51
|
|
52 Window-system options:
|
|
53
|
388
|
54 --with-x11 (*) Support the X Window System.
|
412
|
55 --without-x11 Don't support X.
|
388
|
56 --x-includes=DIR Search for X header files in DIR.
|
|
57 --x-libraries=DIR Search for X libraries in DIR.
|
412
|
58 --without-toolbars Don't compile with any toolbar support.
|
414
|
59 --without-wmcommand Compile without realized leader window which will
|
|
60 keep the WM_COMMAND property.
|
388
|
61 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid
|
|
62 widgets emulate Motif (mostly) but are faster.
|
|
63 *WARNING* The Motif menubar is currently broken.
|
|
64 --with-scrollbars=TYPE Use TYPE scrollbars
|
412
|
65 (lucid, motif, athena, athena3d, or no).
|
|
66 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, athena3d, or no).
|
388
|
67 Lucid menubars and scrollbars are the default.
|
|
68 Motif dialog boxes will be used if Motif can be found.
|
412
|
69 --with-dragndrop (*) Compile in the generic drag and drop API. This is
|
388
|
70 automatically added if one of the drag and drop
|
|
71 protocols is found (currently CDE, OffiX, MSWindows).
|
|
72 *WARNING* The Drag'n'drop support is under development
|
|
73 and is considered experimental.
|
412
|
74 --with-cde (*) Compile in support for CDE drag and drop.
|
|
75 --with-offix (*) Compile in support for OffiX drag and drop.
|
388
|
76 *WARNING* If you compile in OffiX, you may not be
|
|
77 able to use multiple X displays success-
|
|
78 fully. If the two servers are from
|
|
79 different vendors, the results may be
|
|
80 unpredictable.
|
412
|
81 --without-xmu (*) For those unfortunates whose vendors don't ship Xmu.
|
388
|
82 --external-widget Compile with external widget support.
|
412
|
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.
|
|
90 --without-gif Compile without the built-in support for GIF image
|
|
91 conversion.
|
|
92 --with-jpeg (*) Compile with support for JPEG image conversion.
|
|
93 Requires libjpeg from the Independent JPEG Group.
|
|
94 Get it from the XEmacs FTP site.
|
|
95 --with-png (*) Compile with support for PNG image conversion.
|
|
96 Requires libpng. Get it from the XEmacs FTP site.
|
|
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
|
412
|
102 TTY options:
|
406
|
103
|
412
|
104 --without-tty Don't support TTY-s.
|
|
105 --with-ncurses (*) Use the ncurses library for tty support.
|
|
106 --with-gpm (*) Compile in support for General Purpose Mouse.
|
406
|
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).
|
412
|
115 --with-database=TYPE (*) Compile with database support. Valid types are
|
|
116 `no' or a comma-separated list of one or more
|
|
117 of `berkdb' and either `dbm' or `gnudbm'.
|
|
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
|
406
|
127 --with-dnet (*) Compile with support for DECnet.
|
412
|
128 --with-ldap (*) Compile with support for the LDAP protocol (requires
|
|
129 installed LDAP libraries on the system).
|
|
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'.
|
388
|
133 --with-site-lisp=yes Allow for a site-lisp directory in the XEmacs hierarchy
|
|
134 searched before the installation packages.
|
|
135 --with-site-modules=no Disable site-modules directory in the XEmacs hierarchy,
|
|
136 which is searched before the installation modules.
|
215
|
137 --package-path=PATH Directories to search for packages to dump with xemacs.
|
388
|
138 PATH splits into three parts separated by double
|
|
139 colons (::), an early, a late, and a last part,
|
274
|
140 corresponding to their position in the various
|
380
|
141 system paths: The early part is always first,
|
|
142 the late part somewhere in the middle, and the
|
274
|
143 last part at the very back.
|
|
144 Only the late part gets seen at dump time.
|
380
|
145 If PATH has only one component, that component
|
274
|
146 is late.
|
|
147 If PATH has two components, the first is
|
|
148 early, the second is late.
|
388
|
149 --infodir=DIR Directory to install XEmacs Info manuals and dir in.
|
|
150 --infopath=PATH Directories to search for Info documents, info dir
|
|
151 and localdir files in case run-time searching
|
269
|
152 for them fails.
|
388
|
153 --moduledir=DIR Directory to install dynamic modules in.
|
215
|
154
|
|
155 Internationalization options:
|
|
156
|
388
|
157 --with-mule Compile with Mule (MUlti-Lingual Emacs) support,
|
|
158 needed to support non-Latin-1 (including Asian)
|
|
159 languages.
|
|
160 --with-xim=xlib Compile with support for X input methods,
|
|
161 --with-xim=motif (*) Used in conjunction with Mule support.
|
|
162 Use either raw Xlib to provide XIM support, or
|
|
163 the Motif XmIm* routines (when available).
|
|
164 NOTE: On some systems bugs in X11's XIM support
|
|
165 will cause XEmacs to crash, so by default,
|
|
166 no XIM support is compiled in, unless running
|
|
167 on Solaris and the XmIm* routines are detected.
|
|
168 --with-canna (*) Compile with support for Canna (a Japanese input method
|
|
169 used in conjunction with Mule support).
|
|
170 --with-wnn (*) Compile with support for WNN (a multi-language input
|
|
171 method used in conjunction with Mule support).
|
412
|
172 --with-wnn6 (*) Compile with support for the comercial package WNN
|
|
173 version 6
|
388
|
174 --with-i18n3 Compile with I18N level 3 (support for message
|
|
175 translation). This doesn't currently work.
|
|
176 --with-xfs Compile with XFontSet support for bilingual menubar.
|
|
177 Can't use this option with --with-xim=motif or xlib.
|
|
178 And should have --with-menubars=lucid.
|
215
|
179
|
|
180
|
|
181 Debugging options:
|
|
182
|
388
|
183 --debug Compile with support for debugging XEmacs.
|
|
184 (Causes code-size increase and little loss of speed.)
|
221
|
185 --error-checking=TYPE[,TYPE]...
|
388
|
186 Compile with internal error-checking added.
|
|
187 Causes noticeable loss of speed. Valid types
|
|
188 are extents, bufpos, malloc, gc, typecheck.
|
|
189 --error-checking=none Disable all internal error-checking (the default).
|
|
190 --error-checking=all Enable all internal error-checking.
|
|
191 --memory-usage-stats Compile with additional code to allow you to
|
|
192 determine what XEmacs's memory is being used
|
|
193 for. Causes a small code increase but no loss
|
|
194 of speed. Normally enabled when --debug is given.
|
|
195 --no-doc-file Don't rebuild the DOC file unless it's explicitly
|
|
196 deleted. Only use during development. (It speeds
|
|
197 up the compile-run-test cycle.)
|
|
198 --use-union-type Enable or disable use of a union, instead of an
|
|
199 int, for the fundamental Lisp_Object type; this
|
|
200 provides stricter type-checking. Only works with
|
|
201 some systems and compilers.
|
392
|
202 --with-quantify Add support for performance debugging using Quantify.
|
|
203 --with-purify Add support for memory debugging using Purify.
|
215
|
204
|
|
205
|
|
206 Other options:
|
|
207
|
388
|
208 --rel-alloc Use the relocating allocator (default for this option
|
|
209 is system-dependent).
|
|
210 --with-dlmalloc Control usage of Doug Lea malloc on systems that have
|
|
211 it in the standard C library (default is to use it if
|
|
212 it is available).
|
392
|
213 --with-system-malloc Force use of the system malloc, rather than GNU malloc.
|
|
214 --with-debug-malloc Use the debugging malloc package.
|
388
|
215 --with-clash-detection Use lock files to detect multiple edits of the same
|
412
|
216 file. The default is to not do clash detection.
|
388
|
217 --lockdir=DIR The directory to put clash detection files in, such as
|
|
218 `/var/lock/emacs'.
|
|
219 Defaults to `${statedir}/xemacs/lock'.
|
215
|
220
|
269
|
221 You may also specify any of the `path' variables found in Makefile.in,
|
412
|
222 including --bindir, --libdir, --lispdir, --sitelispdir, --datadir,
|
|
223 --infodir, --mandir and so on. Note that we recommend against
|
|
224 explicitly setting any of these variables. See the INSTALL file for a
|
|
225 complete list plus the reasons we advise not changing them.
|
215
|
226
|
|
227 If successful, configure leaves its status in config.status. If
|
|
228 unsuccessful after disturbing the status quo, it removes config.status.
|
|
229
|
272
|
230 The configure script also recognizes some environment variables, each
|
412
|
231 of which is equivalent to a corresponding configure flag. A specified
|
|
232 configure flag always overrides the environment variable.
|
243
|
233
|
412
|
234 envvar configure flag
|
|
235 ----- --------------
|
|
236 CC --compiler
|
|
237 CPP --cpp
|
|
238 CFLAGS --cflags
|
|
239 CPPFLAGS --cppflags
|
|
240 LDFLAGS --ldflags
|
|
241 LIBS --libs
|
|
242 LD_RUN_PATH --site-runtime-libraries
|
215
|
243
|
|
244 For more details on the install process, consult the INSTALL file.
|