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.
|
|
83 --with-imagick (*) Compile with support for ImageMagick image conversion.
|
|
84 Requires ImageMagick from wizards.dupont.com and
|
|
85 libraries for whatever image types you wish to have
|
|
86 supported.
|
|
87 Get it from the XEmacs FTP site.
|
|
88
|
|
89
|
|
90 TTY options:
|
|
91
|
|
92 --with-tty=no Don't support TTY-s.
|
|
93 --with-ncurses (*) Use the ncurses library for tty support.
|
|
94 --with-gpm (*) Compile in support for General Purpose Mouse.
|
|
95
|
|
96
|
|
97 Additional features:
|
|
98
|
|
99 --with-tooltalk (*) Support the ToolTalk IPC protocol.
|
|
100 --with-workshop Support the Sun WorkShop (formerly Sparcworks)
|
|
101 development environment.
|
|
102 --with-socks Compile with support for SOCKS (an Internet proxy).
|
221
|
103 --with-database=TYPE (*) Compile with database support. Valid types are
|
215
|
104 `no' or a comma-separated list of one or more
|
|
105 of `dbm', `gnudbm', or `berkdb'.
|
|
106 --with-sound=native (*) Compile with native sound support.
|
|
107 --with-sound=nas Compile with network sound support.
|
|
108 --with-sound=both Compile with native and network sound support.
|
|
109 --native-sound-lib=LIB Native sound support library. Needed on Suns
|
|
110 with --with-sound=both because both sound libraries
|
|
111 are called libaudio.
|
|
112 --with-pop support POP for mail retrieval
|
|
113 --with-kerberos support Kerberos-authenticated POP
|
|
114 --with-hesiod support Hesiod to get the POP server host
|
|
115 --with-dnet (*) Compile with support for DECnet.
|
|
116 --mail-locking=TYPE (*) Specify the locking to be used by movemail to prevent
|
|
117 concurrent updates of mail spool files. Valid types
|
|
118 are `lockf', `flock', and `file'.
|
|
119 --package-path=PATH Directories to search for packages to dump with xemacs.
|
|
120 Defaults to `/usr/local/lib/xemacs/packages:~/.xemacs'.
|
221
|
121 --infodir=DIR Directory to install the XEmacs Info manuals and dir in.
|
215
|
122 Defaults to: `'.
|
|
123 --infopath=PATH Directories to search for Info documents, info dir
|
|
124 and localdir files. This is used to initialize
|
|
125 `Info-default-directory-list' at dump time.
|
|
126 Directories on this path that do not exist in the
|
|
127 filesystem will be dropped by the startup code at
|
|
128 runtime, so it is safe to specify directories that do
|
|
129 not exist in the compilation environment, or that won't
|
|
130 exist in the runtime environment. The "dir"
|
|
131 file in the first existing directory in this list will
|
|
132 become the (dir)Top node of the Info tree.
|
239
|
133 Defaults to the value of:
|
215
|
134 `/usr/local/info:/usr/info:/usr/local/lib/texmf/doc/info:/usr/lib/texmf/doc/
|
|
135 info'.
|
|
136
|
|
137 Internationalization options:
|
|
138
|
|
139 --with-mule Compile with Mule (MUlti-Lingual Emacs) support,
|
|
140 needed to suport non-Latin-1 (including Asian) languages.
|
|
141 --with-xim=xlib Compile with support for X input methods,
|
|
142 --with-xim=motif (*) Used in conjunction with Mule support.
|
|
143 Use either raw Xlib to provide XIM support, or
|
|
144 the Motif XmIm* routines (when available).
|
|
145 NOTE: On some systems bugs in X11's XIM support
|
|
146 will cause XEmacs to crash, so by default,
|
|
147 no XIM support is compiled in, unless running
|
|
148 on Solaris and the XmIm* routines are detected.
|
|
149 --with-canna (*) Compile with support for Canna (a Japanese input method
|
|
150 used in conjunction with Mule support).
|
|
151 --with-wnn (*) Compile with support for WNN (a multi-language input method
|
|
152 used in conjunction with Mule support).
|
|
153 This is beta level code.
|
|
154 --with-wnn6 (*) Compile with support for WNN version 6
|
|
155 This is alpha level code.
|
|
156 --with-i18n3 Compile with I18N level 3 (support for message
|
|
157 translation). This doesn't currently work.
|
|
158 --with-xfs Compile with XFontSet support for bilingual menubar.
|
|
159 Can't use this option with --with-xim=motif or xlib.
|
|
160 And should have --with-menubars=lucid.
|
|
161
|
|
162
|
|
163 Debugging options:
|
|
164
|
|
165 --debug Compile with support for debugging XEmacs.
|
|
166 (Causes code-size increase and little loss of speed.)
|
221
|
167 --error-checking=TYPE[,TYPE]...
|
215
|
168 Compile with internal error-checking added.
|
|
169 Causes noticeable loss of speed. Valid types
|
|
170 are extents, bufpos, malloc, gc, typecheck.
|
|
171 --error-checking=none Disable all internal error-checking (the default).
|
|
172 --error-checking=all Enable all internal error-checking.
|
|
173 --memory-usage-stats Compile with additional code to allow you to
|
|
174 determine what XEmacs's memory is being used
|
|
175 for. Causes a small code increase but no loss
|
|
176 of speed. Normally enabled when --debug is given.
|
|
177 --no-doc-file Don't rebuild the DOC file unless it's explicitly
|
|
178 deleted. Only use during development. (It speeds
|
|
179 up the compile-run-test cycle.)
|
|
180 --use-union-type Enable or disable use of a union, instead of an
|
|
181 int, for the fundamental Lisp_Object type; this
|
|
182 provides stricter type-checking. Only works with
|
|
183 some systems and compilers.
|
|
184
|
|
185
|
|
186 Other options:
|
|
187
|
|
188 --puresize=VALUE Override default amount of space for pure Lisp code.
|
|
189 --rel-alloc Use the relocating allocator (default for this option
|
|
190 is system-dependent).
|
|
191 --with-clash-detection Use lock files to detect multiple edits of the same file.
|
|
192 The default is to not do clash detection.
|
221
|
193 --lockdir=DIR The directory to put clash detection files in, such as
|
215
|
194 `/var/lock/emacs'.
|
|
195 Defaults to `${statedir}/xemacs/lock'.
|
|
196 --with-system-malloc Force use of the system malloc, rather than GNU malloc.
|
|
197 --with-debug-malloc Use the debugging malloc package.
|
|
198
|
|
199 You may also specify any of the `path' variables found in
|
|
200 Makefile.in, including --bindir, --libdir, --lispdir, --datadir, and
|
|
201 so on. Note that we recommend against explicitly setting any of these
|
|
202 variables. See the INSTALL file for a complete list plus the reasons
|
|
203 we advise not changing them.
|
|
204
|
|
205 If successful, configure leaves its status in config.status. If
|
|
206 unsuccessful after disturbing the status quo, it removes config.status.
|
|
207
|
243
|
208 The configure build process also uses the following environment variables:
|
|
209
|
215
|
210 CC C compiler to use (but configure flags take precedence)
|
|
211 CPP C preprocessor to use (such as /usr/ccs/lib/cpp or cc -E)
|
|
212 CFLAGS C compiler compilation flags (such as -O)
|
243
|
213 CPPFLAGS Compilation flags (such as -I/foo) used only by the preprocessor
|
215
|
214 LDFLAGS Additional linker flags (such as -L/foo)
|
|
215 LIBS Additional libraries (such as -lfoo)
|
|
216
|
|
217 For more details on the install process, consult the INSTALL file.
|