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