annotate INSTALL @ 5263:0d436a78c514

Add an implementation for #'the, cl-macs.el lisp/ChangeLog addition: 2010-09-16 Aidan Kehoe <kehoea@parhasard.net> * cl-macs.el (the): Add a docstring and an implementation for this macro. * bytecomp.el (byte-compile-initial-macro-environment): Add #'the to this, checking byte-compile-delete-errors to decide whether to make the type assertion. Change the initvalue to use backquote and preceding commas for the lambda expressions, to allow the latter to be compiled.
author Aidan Kehoe <kehoea@parhasard.net>
date Thu, 16 Sep 2010 13:36:03 +0100
parents 0353d546dc1e
children 3889ef128488
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 XEmacs Installation Guide
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
2
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 Copyright (c) 1994, 1995, 1996 Board of Trustees, University of Illinois
4508
742a23369b74 Improve package documentation.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 3179
diff changeset
4 Copyright (c) 1994-1999, 2003, 2008 Free Software Foundation, Inc.
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
5
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 Permission is granted to anyone to make or distribute verbatim copies
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 of this document as received, in any medium, provided that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 copyright notice and permission notice are preserved,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 and that the distributor grants the recipient permission
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 for further redistribution as permitted by this notice.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 Permission is granted to distribute modified versions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 of this document, or of portions of it,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 under the above conditions, provided also that they
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 carry prominent notices stating who last changed them,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 and that any new or changed statements about the activities
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 of the Free Software Foundation are approved by the Foundation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
19 BUILDING AND INSTALLATION FOR UNIX AND CYGWIN
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
20
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
21 (for Microsoft Windows, see nt/README also.)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
22
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
23 PREREQUISITES
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
24 =============
404
2f8bb876ab1d Import from CVS: tag r21-2-32
cvs
parents: 400
diff changeset
25
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
26 Make sure your system has enough swapping space allocated to handle a
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
27 program whose pure code is 900k bytes and whose data area is at least
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
28 400k and can reach 8Mb or more. Note that a typical XEmacs process
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
29 can get much bigger: the instance this sentence was written with is
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
30 over 100MB! If the swapping space is insufficient, you will get an
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
31 error in the command `temacs -batch -l loadup dump', found in
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
32 `./src/Makefile.in.in', or possibly when running the final dumped
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
33 XEmacs.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
35 Verify that your users have a high enough stack limit. On some systems
1036
b33a835c21cc [xemacs-hg @ 2002-10-08 03:11:48 by stephent]
stephent
parents: 845
diff changeset
36 such as OpenBSD and OSF/Tru64 the default is 2MB which is too low. On
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
37 MacOS/X (Darwin) before 10.3, it's 512kB. See 'PROBLEMS' for details.
424
11054d720c21 Import from CVS: tag r21-2-20
cvs
parents: 420
diff changeset
38
11054d720c21 Import from CVS: tag r21-2-20
cvs
parents: 420
diff changeset
39 Building XEmacs requires about 100 Mb of disk space (including the
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
40 XEmacs sources). Once installed, XEmacs occupies between 20 and 100
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
41 MB in the file system where it is installed; this includes the
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
42 executable files, Lisp libraries, miscellaneous data files, and
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
43 on-line documentation. The exact amount depends greatly on the number
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
44 of extra Lisp packages that are installed.
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
45
2427
97dd9f867cef [xemacs-hg @ 2004-12-07 12:52:30 by malcolmp]
malcolmp
parents: 2283
diff changeset
46 XEmacs requires an ANSI C compiler, such as GCC. If you wish to build the
97dd9f867cef [xemacs-hg @ 2004-12-07 12:52:30 by malcolmp]
malcolmp
parents: 2283
diff changeset
47 documentation yourself, you will need at least version 1.68 of makeinfo (GNU
97dd9f867cef [xemacs-hg @ 2004-12-07 12:52:30 by malcolmp]
malcolmp
parents: 2283
diff changeset
48 texinfo-3.11). GNU Texinfo 4.2 is recommended; it is necessary for building
97dd9f867cef [xemacs-hg @ 2004-12-07 12:52:30 by malcolmp]
malcolmp
parents: 2283
diff changeset
49 Lisp packages, and we may move to it for the core.
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
50
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
51 A note on terminology: unfortunately the terms "library" and "package"
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
52 are heavily overloaded. In the following, "library" refers to an
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
53 external body of executable code which may be linked with XEmacs at
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
54 build time to provide support for system features, such as images,
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
55 audio, stream compression, databases, and input methods. A "Lisp
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
56 library" is a file of Lisp code which may be loaded into XEmacs at
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
57 run-time to provide editor features. A "package" is a specially
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
58 prepared Lisp library or set of Lisp libraries, providing for easy
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
59 installation, upgrade, and removal of applications written in Lisp.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 392
diff changeset
60
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
61 PACKAGE SYSTEM
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
62 ==============
424
11054d720c21 Import from CVS: tag r21-2-20
cvs
parents: 420
diff changeset
63
4508
742a23369b74 Improve package documentation.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 3179
diff changeset
64 The FAQ sections 1.7 and 2.1 contain information vital to have a fully
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
65 working XEmacs. It includes a description of available packages, and
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
66 how to bootstrap XEmacs from a minimal or a complete set of packages.
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
67 This information was not included in this file only because it is too
4508
742a23369b74 Improve package documentation.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 3179
diff changeset
68 large for this terse INSTALL. The FAQ is available in Texinfo format
742a23369b74 Improve package documentation.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 3179
diff changeset
69 in man/xemacs-faq.texi, as an Info file once you build XEmacs, and
742a23369b74 Improve package documentation.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 3179
diff changeset
70 online at http://www.xemacs.org/Documentation/21.5/html/xemacs-faq_1.html.
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
71
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
72 ADD-ON LIBRARIES
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
73 ================
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
74
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
75 Decide which libraries you would like to use with XEmacs, but are not
1375
0b6d70f7d49c [xemacs-hg @ 2003-03-24 14:13:40 by stephent]
stephent
parents: 1338
diff changeset
76 yet available on your system. On some systems, X11, Motif and CDE are
3018
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
77 optional additions. On MacOS/X systems prior to 10.2, you may download
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
78 X11R6 for Mac OS X from http://www.apple.com/macosx/x11/download/. In
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
79 later releases X11 is available as an optional package on the
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
80 installation CDs. In either case you need both the runtime libraries
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
81 and the SDK (in a sidebar of that page at the time of writing). There
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
82 is also a 3rd-party implementation of X11R6 for the Mac at
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
83 http://www.xdarwin.org/. On Solaris, the SUNWaudmo package enables
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
84 native sound support. There are also a number of free software
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
85 applications that XEmacs can use. If these are not yet available on
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
86 your system, obtain, build and install those external libraries before
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
87 building XEmacs. The libraries XEmacs can use are:
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
88
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
89 Xaw3d, XPM, JPEG, compface, PNG, zlib, GNU DBM, Berkeley DB, socks,
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
90 term, NAS, Canna, Kinput2, SJ3, Wnn, PostgreSQL, LDAP.
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
91
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
92 You can get (most of) them from the XEmacs FTP archive at
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
93 <ftp://ftp.xemacs.org/pub/xemacs/aux>. Information about what
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
94 each library does is available in the file
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
95 <ftp://ftp.xemacs.org/pub/xemacs/aux/00README.txt>.
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
96
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
97 Use the `--with-site-includes' and `--with-site-libraries' options when
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
98 building XEmacs to allow configure to find the external software
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
99 packages. For your convenience these can be set together by using the
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
100 `--with-site-prefixes' option. This will set these variables as needed
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
101 assuming your libraries are organised as a typical /usr tree.
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
102
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
103 If you link dynamically with external libraries, usually denoted by
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
104 ".so" (Unix), ".dll" (Windows), or ".dylib" (MacOS) file extensions, on
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
105 some systems you may also need to add the library directories to the
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
106 `--with-site-runtime-libraries' option. It is typically necessary only
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
107 if you link with dynamic libraries that are installed in non-standard
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
108 directories, or if you expect some of the libraries used to build XEmacs
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
109 to be in a different directory at run time than at build time.
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
110
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
111 NOTE: This option has unusual semantics. ONLY libraries found in the
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
112 directories specified in this option will be used at runtime. This
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
113 means you must specify ALL directories you want searched at runtime in
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
114 this option (perhaps excluding a very small number of standard system
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
115 library paths).
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
116
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
117 Directories specified with `--with-site-libraries' are NOT automatically
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
118 added. The rationale is that most users will not need this option, and
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
119 this allows the builder to specify exactly the needed directories.
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
120 Specifying unnecessary directories leads to obscure problems (typically
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
121 startup delays) if those directories are mounted over a network, and the
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
122 automounter configuration changes. Not all systems need this option;
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
123 it's best to avoid using it if you can.
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
124
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
125 Dynamic linking has pros and cons. Dynamically linking 3rd party
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
126 libraries to XEmacs decreases the size of the binary, and means you
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
127 don't need to rebuild XEmacs to take advantage of improvements in the
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
128 libraries. On the other hand, XEmacs can fail subtly if the semantics
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
129 of a library changes, other users may not be able to use your
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
130 "private" copies of the libraries, and you may have to relink XEmacs,
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
131 or even omit the feature, if the ABI changes when the libraries are
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
132 upgraded.
424
11054d720c21 Import from CVS: tag r21-2-20
cvs
parents: 420
diff changeset
133
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
134 CONFIGURATION OPTIONS
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
135 =====================
269
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents: 255
diff changeset
136
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
137 In the top level directory of the XEmacs distribution, run the
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
138 program `configure' as follows:
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
140 ./configure [CONFIGURATION-NAME] [--OPTION[=VALUE]] ...
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141
3018
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
142 Options are generally of the form `--with-FEATURE' or
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
143 `--enable-FEATURE' to use a feature or `--without-FEATURE' or
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
144 `--disable-FEATURE' to not use a feature. Unlike the `configure'
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
145 program used in other applications, either `--with-FEATURE' or
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
146 `--enable-FEATURE' can be used to use the same feature.
31e656a27dae [xemacs-hg @ 2005-10-24 20:39:38 by malcolmp]
malcolmp
parents: 2648
diff changeset
147
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
148 If you haven't built XEmacs 21.5 recently, the change from the
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
149 configure script based on Autoconf 2.13 can be a shock. Appendix:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
150 Correspondence to Old Configure Options (at the end of this document)
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
151 contains a list of old options and their new equivalents.
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
152
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
153 Controlling the Host Type
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
154 -------------------------
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
155
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
156 Almost always, you should let `configure' (actually the shell script
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
157 `config.guess') guess your host type, by omitting the
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
158 CONFIGURATION-NAME argument. If you like to experiment, specify a
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
159 configuration name in the form MACHINE-VENDOR-OPSYS, for example:
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
160
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
161 sparc-sun-solaris2.6
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
162
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
163 See config.guess and configure.in for valid values for MACHINE,
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
164 VENDOR, and OPSYS. Also check `./etc/MACHINES' for advice on building
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
165 on particular machines.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
167 Specifying Location of Headers and Libraries
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
168 --------------------------------------------
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
169
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
170 The `--with-site-includes=DIR' and `--with-site-libraries=DIR' options
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
171 allow you to specify additional places the compiler should look for
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
172 include files and object libraries. You may specify multiple DIR's by
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
173 enclosing the list in quotes. All the external libraries you want to
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
174 use with XEmacs (e.g. xpm, wnn, ...) described later should have their
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
175 include and library directories defined using these options.
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
176
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
177 The `--with-site-runtime-libraries=DIR' option specifies directories to
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
178 search for shared libraries at run time. If you use this option, you
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
179 must specify ALL of the directories containing shared libraries at run
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
180 time, including system directories. Please read the information about
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
181 "ADD-ON LIBRARIES" above very carefully.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 The `--x-includes=DIR' and `--x-libraries=DIR' options tell the build
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 process where the compiler should look for the include files and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 object libraries used with the X Window System. Normally, `configure'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 is able to find them; these options are necessary if you have your X
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 Window System files installed in unusual places.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
189 Configuring the Build Process
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
190 -----------------------------
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
191
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
192 The `--with-gcc=PROGRAM' option specifies that the build process should
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
193 compile XEmacs using GCC. The `--with-compiler' option allows you to
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
194 specify some other compiler to be used to compile XEmacs. If neither
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
195 option is specified, the environment variable CC is used instead.
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
196 Otherwise the compiler will then default to 'cc'.
201
eb5470882647 Import from CVS: tag r20-3b27
cvs
parents: 185
diff changeset
197
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
198 The `--with-xemacs-compiler=PROGRAM' option specifies the compiler
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
199 control program for the xemacs binary only. Other C code will be
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
200 compiled according to the `--with-gcc' and `--with-compiler' options
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
201 above. This is useful if you wish to compile XEmacs with a C++
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
202 compiler, because the utilities in ./lib-src cannot be compiled as C++.
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
203 This option is primarily intended for use by the maintainers.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
205 The `--with-cflags=FLAGS' option specifies all of the CFLAGS the build
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
206 process should use when compiling XEmacs, except for flags controlling
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
207 warning generation. Otherwise the value of the environment variable
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
208 CFLAGS is consulted. If that is also undefined, CFLAGS defaults to "-g
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
209 -O" for gcc and "-g" for all other compilers.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
211 The `--with-cflags-warning=FLAGS' option specifies the warnings to be
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
212 generated. There is normally no reason to use this flag, as XEmacs
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
213 turns on as many warnings as possible, and is still intended to build
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
214 with no warnings. If you get any undocumented warnings, please report
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
215 them as bugs---they very often are, or at least indicate possible
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
216 bitrot.
594
fd49b88b9f06 [xemacs-hg @ 2001-05-31 12:47:21 by ben]
ben
parents: 442
diff changeset
217
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
218 The `--with-cflags-optimization=FLAGS' option specifies the
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
219 optimizations to be used. There is normally no reason to use this
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
220 flag, as XEmacs will already set the maximum safe optimization flags
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
221 appropriate for the compiler being invoked.
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
222
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
223 The `--with-cflags-debugging=FLAGS' option specifies debugging
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
224 information to be generated. You should avoid using this flag, as it
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
225 makes most severe or fatal bugs hard-to-impossible to diagnose and
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
226 fix. Debugging information does not slow down XEmacs at runtime, and
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
227 it doesn't make the binary very much bigger.
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
228
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
229 The `--with-dynamic' option specifies that configure should try to
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
230 link XEmacs dynamically rather than statically. `--with-static'
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
231 specifies the reverse. XEmacs's configure script detects whether
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
232 dynamic linking can be done on all platforms we know of; these options
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
233 are normally unnecessary.
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
234
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
235 The `--with-modules' option specifies that XEmacs be built with
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
236 support for runtime loadable modules. NOTE TO OEMS: XEmacs can be
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
237 distributed configured to support several options based on external
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
238 APIs (currently LDAP, PostgreSQL, and Canna) as loadable modules. You
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
239 can distribute an XEmacs binary package with these options enabled
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
240 without depending on the external package. XEmacs will fail
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
241 gracefully at runtime, issuing an error message indicating that the
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
242 required support was not found on the system.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 You can build XEmacs for several different machine types from a single
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 source directory. To do this, you must use a version of `make' that
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
246 supports the `VPATH' variable, such as GNU `make'. Create separate
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 build directories for the different configuration types, and in each
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 one, run the XEmacs `configure' script. `configure' looks for the
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
249 Emacs source code in the directory that `configure' is in. The
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
250 `--srcdir' option may not work correctly (traditionally it was
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
251 overridden by the directory containing `configure').
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
252
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
253 Configuring the Installation Layout
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
254 -----------------------------------
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 The `--prefix=PREFIXDIR' option specifies where the installation process
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 should put XEmacs and its data files. This defaults to `/usr/local'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 - XEmacs (and the other utilities users run) go in PREFIXDIR/bin
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 (unless the `--exec-prefix' option says otherwise).
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
260 - The architecture-independent files go in PREFIXDIR/share/xemacs-VERSION
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
261 (where VERSION is the version number of XEmacs, like `21.0').
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 - The architecture-dependent files go in
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
263 PREFIXDIR/lib/xemacs-VERSION/CONFIGURATION-NAME
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
264 (where CONFIGURATION-NAME is the host type, like mips-dec-ultrix4.2),
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 unless the `--exec-prefix' option says otherwise.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 The `--exec-prefix=EXECDIR' option allows you to specify a separate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 portion of the directory tree for installing architecture-specific
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 files, like executables and utility programs. If specified,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 - XEmacs (and the other utilities users run) go in EXECDIR/bin, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 - The architecture-dependent files go in
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
272 EXECDIR/lib/xemacs-VERSION/CONFIGURATION-NAME.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 EXECDIR/bin should be a directory that is normally in users' PATHs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
275 If you specify --prefix (or any of the other installation directory
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
276 options), they will get compiled into the xemacs executable so it will
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
277 be able to find its various associated files. However, XEmacs has
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
278 quite elaborate logic to find out the locations of these directories
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
279 dynamically. Sometimes, it is desirable *not* to compile these
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
280 directories into the executable so you can move the XEmacs
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
281 installation around (as whole) at will. This is true for binary kits,
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
282 for instance. Therefore, you can specify --without-prefix on the
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
283 configure command line to prevent the installation prefix to become
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
284 part of the generated executable; everything else will continue to
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
285 work as usual.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
287 Unlike previous versions of XEmacs (21.4 or earlier),
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
288 architecture-independent files (in particular, the Lisp files and
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
289 package hierarchies) by default get installed under `/usr/local/share'
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
290 rather than `/usr/local/lib'. To create a setup as in previous
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
291 versions, use the `--datadir=/usr/local/lib' option to configure.
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
292
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
293 Configuring Feature Support
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
294 ---------------------------
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
295
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
296 If you don't want X Window System support, specify `--without-x'. If
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
297 you omit this option, `configure' will try to autodetect whether your
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
298 system has X Window System support, and arrange to use it if present.
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
299
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
300 The `--with-menubars=TYPE' option allows you to specify which X
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 toolkit you wish to use for the menubar. The valid options are
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
302 `lucid', `motif' and `no'. The default is `lucid' which is a
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 Motif-lookalike menubar. We highly recommend its usage over the real
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 Motif menubar. (In fact, the Motif menubar is currently broken.) If
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
305 `no' is specified then support for menubars will not be compiled in.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
307 The `--with-scrollbars=TYPE' option allows you to specify which X
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 toolkit you wish to use for the scrollbars. The valid options are
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
309 `lucid', `motif', `athena', `athena3d', and `no'. The default is
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
310 `lucid' which is a Motif-lookalike scrollbar. If `no' is specified then
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
311 support for scrollbars will not be compiled in.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
313 The `--with-dialogs=TYPE' option allows you to specify which X toolkit
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
314 you wish to use for the dialog boxes. The valid options are `athena',
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
315 `athena3d', `motif, and `no. The `lucid' option is accepted and will
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
316 result in the `athena' toolkit being used. If the Motif toolkit can be
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
317 found the default is `motif'. Otherwise, the default is `athena'. If
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
318 `no' is specified then support for dialog boxes will not be compiled in.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
320 The `--with-toolbars' option allows you to enable or disable toolbar
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
321 support. The default is `yes' if support for a windowing system is
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
322 included.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
324 The `--with-xpm' option specifies that XEmacs should support X11
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 Pixmaps. `configure' will attempt to detect if you have the Xpm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 libraries and define `--with-xpm' for you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 The `--with-xface' option specifies that XEmacs should support
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 X-Faces. `configure' will attempt to detect if you have the compface
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 library and define `--with-xface' for you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
332 The `--with-database' option specifies that XEmacs should be built
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
333 with simple database support. The valid options are `no' or a
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 comma-separated list of one or more of `dbm', `gnudbm' or `berkdb'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 `configure' will attempt to detect the necessary libraries and header
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
336 files and define `--with-database' for you.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
338 The `--with-postgresql' option specifies that XEmacs should be built
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
339 with PostgreSQL support, linking with libpq. `configure' will attempt
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
340 to detect whether PostgreSQL support is available, and automatically
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
341 define `--with-postgresql' for you. NOTE TO OEMS: If modules are
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
342 supported and enabled, the libpq API support will be build as a
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
343 module.
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
344
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
345 The `--with-ldap' option specifies that XEmacs should be build with
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
346 LDAP support, using the OpenLDAP libraries. `configure' will attempt
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
347 to detect whether LDAP support is available, and automatically define
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
348 `--with-ldap' for you. NOTE TO OEMS: If modules are supported and
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
349 enabled, the OpenLDAP API support will be build as a module.
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
350
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 The `--with-socks' option specifies that XEmacs should be built with
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
352 SOCKS support. This requires the libsocks library.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
354 The `--with-external-widget' option specifies that XEmacs should be
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
355 built with support for being used as a widget by other X11 applications.
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
356 This functionality should be considered beta.
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
357
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
358 The `--with-sound=TYPE' option specifies that XEmacs should be built
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
359 with sound support. Native (`--with-sound=native') sound support is
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
360 currently available only on Sun SparcStations, SGI's, HP9000s, and
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
361 systems (such as Linux) with soundcard.h. Network Audio Support (NAS)
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
362 (`--with-sound=nas') is an extension to X that you may or may not have
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
363 for your system. For NAS, you will probably need to provide the paths
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
364 to the nas include and library directories to configure. If
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
365 `--with-sound' is not specified, `configure' will attempt to determine
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
366 if your configuration supports native sound and define --with-sound
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
367 for you. If your native sound library is not in a standard location you
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
368 can specify it with the `--with-native-sound-lib=LIB' flag. For Linux,
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
369 `/dev/audio' is required for SunAudio files and `/dev/dsp' is required
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
370 for raw data and WAVE format files.
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
371
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 The `--with-tooltalk' option specifies that XEmacs should be built
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 with ToolTalk support for interconnecting with other applications.
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
374 ToolTalk is not yet supported on all architectures. If you use this
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
375 option, you should have the tooltalk package (see etc/PACKAGES)
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
376 installed prior to building XEmacs.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 The `--with-sparcworks' option specifies that XEmacs should be built
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
379 with support for Sun Sparcworks 3.0.1 and up (including Sun WorkShop).
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
380 This functionality is only of use on SunOS 4.1.x and Solaris 2.x
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 269
diff changeset
381 systems. If you use this option, you should have the Sun package (see
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
382 etc/PACKAGES) installed prior to building XEmacs.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
384 The `--with-cde' option allows you to enable or disable CDE drag and
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385 drop support. `configure' will attempt to detect this option and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 define `--with-cde' for you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
388 Internationalization Options
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
389 ----------------------------
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
391 The `--with-mule' option enables MUlti-Lingual Emacs (Mule) support,
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
392 needed to support non-Latin-1 (including Asian) languages. Mule
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
393 support is required for Asian language and Unicode (multibyte and wide
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
394 character) support. With the advent of the Euro and European
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
395 Community expansion, Mule support is also recommended for Western
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
396 Europeans. Enabling Mule support requires the mule-base package
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
397 installed prior to building XEmacs. The `--with-xim', --with-xfs',
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
398 `--with-canna', `--with-wnn' and `--with-wnn6' options require
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
399 Mule support.
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
400
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
401 The `--with-xim' option enables use of the X11 XIM mechanism to allow
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
402 an input method to input text into XEmacs. The input method is shared
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
403 among all the X applications sharing an X display and using the same
151
59463afc5666 Import from CVS: tag r20-3b2
cvs
parents: 149
diff changeset
404 language. The XIM support comes in two flavors: `motif' and `xlib'.
59463afc5666 Import from CVS: tag r20-3b2
cvs
parents: 149
diff changeset
405 The Motif support (the XmIm* functions) is preferred when available.
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
406 The xlib XIM support works reasonably well so long as the X11 libraries
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
407 are recent enough. It has been fairly well tested on Linux with glibc
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
408 2.0.5 and 2.0.6 and Kinput2 as an XIM server. In this configuration
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
409 X11 must be recompiled with X_LOCALE defined because glibc is lacking
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
410 localization for Japanese. The XIM support defaults to `no' except
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
411 when Motif is detected where it is stable with OSF libraries. The XIM
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
412 support in Lesstif (a Free Motif replacement) does not work as of
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
413 v0.82. If you enable this option, you will probably wish to install
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
414 the `locale' package which contains localized Splash screens and
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
415 Menubars.
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
416
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 269
diff changeset
417 The `--with-xfs' option enables use of a multilingual Menubar. At the
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
418 present time, only Japanese and French locales are supported. In
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 269
diff changeset
419 order to use a multilingual Menubar you must have the `locale' package
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
420 installed. The `locale' package does not have to be installed when
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
421 building XEmacs.
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
422
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
423 The `--with-canna' option enables the use of the Canna Japanese input
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
424 method. This is stable code and fairly well tested. In order to use
2283
f512fee90bfb [xemacs-hg @ 2004-09-20 18:00:38 by james]
james
parents: 2259
diff changeset
425 it, you will have to have the Canna server installed and running. Canna
f512fee90bfb [xemacs-hg @ 2004-09-20 18:00:38 by james]
james
parents: 2259
diff changeset
426 versions 3.2pl2, 3.5b2, and 3.7p3 are known to work. Version 3.2pl2 is
f512fee90bfb [xemacs-hg @ 2004-09-20 18:00:38 by james]
james
parents: 2259
diff changeset
427 considered more stable than version 3.5b2; the stability of 3.7p3 is
f512fee90bfb [xemacs-hg @ 2004-09-20 18:00:38 by james]
james
parents: 2259
diff changeset
428 still unknown. If Canna is already installed, configure will autodetect
f512fee90bfb [xemacs-hg @ 2004-09-20 18:00:38 by james]
james
parents: 2259
diff changeset
429 it, so you never need to explicitly use this option unless your Canna
f512fee90bfb [xemacs-hg @ 2004-09-20 18:00:38 by james]
james
parents: 2259
diff changeset
430 libraries are somewhere strange. Canna run time support is currently
f512fee90bfb [xemacs-hg @ 2004-09-20 18:00:38 by james]
james
parents: 2259
diff changeset
431 bundled with the `mule-base' package so there is nothing additional to
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
432 install in order to use it. NOTE TO OEMS: If modules are supported
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
433 and enabled, the libcanna API support will be build as a module.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
435 The `--with-wnn' and `--with-wnn6' options are for compiling with the Wnn
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
436 multi-language input method. `--with-wnn' is for compiling with Wnn-4.2,
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
437 the Free version of WNN. `--with-wnn6' is for compiling against WNN6,
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
438 the commercial version of WNN available from OMRON Corporation. This is
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
439 stable code and fairly well tested. In order to build with this
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
440 option, you will need to have the `egg-its' lisp package already
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
441 installed.
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
442
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
443 Please note that it is safe to build with as many of the options
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
444 `--with-xim', `--with-canna' and `--with-wnn' as your system
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
445 supports.
104
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
446
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
447 Options for Developers and Special Requirements
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
448 -----------------------------------------------
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
449
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
450 The `--with-rel-alloc' option can be used to either enable or disable
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
451 use of the relocating allocator. Turning on --with-rel-alloc will allow
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
452 XEmacs to return unused memory to the operating system, thereby reducing
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
453 its memory footprint. However, it may make XEmacs runs more slowly,
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
454 especially if your system's `mmap' implementation is missing or
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
455 inefficient. Generally, it's best to go with the default configuration
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
456 for your system. You can tweak this based on how you use XEmacs, and
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
457 the memory and cpu resources available on your system.
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
458
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
459 The `--with-system-malloc' option can be used to either enable or
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
460 disable use of the system malloc. Generally, it's best to go with the
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
461 default configuration for your system. Note that on many systems
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
462 using the system malloc disables the use of the relocating allocator.
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
463
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
464 The `--with-debug-malloc' option can be used to link a special
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
465 debugging version of malloc. Debug Malloc is not included with XEmacs
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
466 and is intended for use only by the developers. It may be obtained
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
467 from <URL:http://www.letters.com/dmalloc/>.
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
468
4842
1d775c6304d1 Use with-FOO consistently instead of enable-FOO
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
469 The `--with-debug' and `--with-error-checking' options are primarily
1d775c6304d1 Use with-FOO consistently instead of enable-FOO
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
470 useful to the developers. `--with-debug' incorporates code for
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
471 performing various tests, but does not impose a speed penalty.
4842
1d775c6304d1 Use with-FOO consistently instead of enable-FOO
Ben Wing <ben@xemacs.org>
parents: 4790
diff changeset
472 `--with-error-checking' adds additional tests to many of the commonly
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
473 used macros, and imposes a speed penalty. Using either or both of these
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
474 options can make bug reports more useful to the developers.
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
475
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
476 The `--verbose' option is useful only to the developers. It displays
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
477 additional information, useful for debugging `configure'.
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
478
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
479 MAIL LOCKING
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
480 ============
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
481
845
77624ff6e2da [xemacs-hg @ 2002-05-16 15:11:22 by stephent]
stephent
parents: 594
diff changeset
482 For most platforms, configure or the src/s file have the preferred
77624ff6e2da [xemacs-hg @ 2002-05-16 15:11:22 by stephent]
stephent
parents: 594
diff changeset
483 method for locking mail spool files preconfigured. Otherwise you must
77624ff6e2da [xemacs-hg @ 2002-05-16 15:11:22 by stephent]
stephent
parents: 594
diff changeset
484 find out for youself. Do not choose a locking protocol "on the
77624ff6e2da [xemacs-hg @ 2002-05-16 15:11:22 by stephent]
stephent
parents: 594
diff changeset
485 objective merits." XEmacs must use the same method as other mail
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
486 utilities on your system, or you WILL lose mail.
845
77624ff6e2da [xemacs-hg @ 2002-05-16 15:11:22 by stephent]
stephent
parents: 594
diff changeset
487
77624ff6e2da [xemacs-hg @ 2002-05-16 15:11:22 by stephent]
stephent
parents: 594
diff changeset
488 Presently, XEmacs supports lockf, flock, and dot locking. Specify the
2648
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
489 locking method via the --with-mail-locking=METHOD option to configure.
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
490 Valid values for METHOD are --with-mail-locking are `lockf', `flock',
68a5da07c189 [xemacs-hg @ 2005-03-10 11:49:00 by malcolmp]
malcolmp
parents: 2427
diff changeset
491 and `dot'.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
492
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
493 RUNNING CONFIGURE
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
494 =================
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
495
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
496 `configure' doesn't do any compilation or installation itself. It
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 126
diff changeset
497 just creates the files that influence those things: `./src/config.h',
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
498 and all the Makefiles in the build tree.
104
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
499
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500 When it is done, `configure' prints a description of what it did and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501 creates a shell script `config.status' which, when run, recreates the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502 same configuration. If `configure' exits with an error after
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
503 disturbing the status quo, it removes `config.status'. If `configure'
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
504 doesn't work as expected, the file `config.log' contains details of
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
505 the tests run and their results.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
507 AUXILIARY PATHS
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
508 ===============
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
509
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
510 Look at `./lisp/paths.el'; if some of those values are not right for
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
511 your system, set up the file `./lisp/site-init.el' with XEmacs Lisp
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
512 code to override them; it is not a good idea to edit paths.el itself.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
513 YOU MUST USE THE LISP FUNCTION `setq' TO ASSIGN VALUES, rather than
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
514 `defvar', as used by `./lisp/paths.el'. For example,
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 (setq news-inews-program "/usr/bin/inews")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518 is how you would override the default value of the variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519 news-inews-program (which is "/usr/local/inews").
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521 Before you override a variable this way, *look at the value* that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 variable gets by default! Make sure you know what kind of value the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 variable should have. If you don't pay attention to what you are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 doing, you'll make a mistake.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525
392
1f50e6fe4f3f Import from CVS: tag r21-2-11
cvs
parents: 388
diff changeset
526 Things may malfunction if the variable `directory-abbrev-alist' is not
1f50e6fe4f3f Import from CVS: tag r21-2-11
cvs
parents: 388
diff changeset
527 set up to translate "temporary" automounter mount points into the
1f50e6fe4f3f Import from CVS: tag r21-2-11
cvs
parents: 388
diff changeset
528 canonical form. XEmacs tries to detect how your automounter is
1f50e6fe4f3f Import from CVS: tag r21-2-11
cvs
parents: 388
diff changeset
529 configured. If you have an unusual automounter configuration that
1f50e6fe4f3f Import from CVS: tag r21-2-11
cvs
parents: 388
diff changeset
530 XEmacs cannot detect, you may need to change the value of
1f50e6fe4f3f Import from CVS: tag r21-2-11
cvs
parents: 388
diff changeset
531 `directory-abbrev-alist'.
371
cc15677e0335 Import from CVS: tag r21-2b1
cvs
parents: 367
diff changeset
532
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
533 SITE-SPECIFIC STARTUP CODE
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
534 ==========================
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
535
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
536 Put into `./lisp/site-init.el' or `./lisp/site-load.el' any Emacs Lisp
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
537 code you want XEmacs to load before it is dumped out. Use
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538 site-load.el for additional libraries if you arrange for their
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539 documentation strings to be in the lib-src/DOC file (see
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540 src/Makefile.in.in if you wish to figure out how to do that). For all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541 else, use site-init.el.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
542
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 Note that, on some systems, the code you place in site-init.el must
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544 not use expand-file-name or any other function which may look
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 something up in the system's password and user information database.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546 See `./PROBLEMS' for more details on which systems this affects.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 The `site-*.el' files are nonexistent in the distribution. You do not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 need to create them if you have nothing to put in them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
551 TERMCAP CONFIGURATION
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
552 =====================
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
553
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
554 Refer to the file `./etc/TERMS' for information on fields you may
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 wish to add to various termcap entries. The files `./etc/termcap.ucb'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 and `./etc/termcap.dat' may already contain appropriately-modified
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 entries.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
559 RUNNING MAKE
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
560 ============
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
561
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
562 Run `make' in the top directory of the XEmacs distribution to finish
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 building XEmacs in the standard way. The final executable file is
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
564 named `src/xemacs'. You can execute this file in place without
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565 copying it, if you wish; then it automatically uses the sibling
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 directories ../lisp, ../lib-src, ../info.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
568 Or you can install the executable and the other XEmacs into their
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
569 permanent locations, with `make install'. By default, XEmacs's files
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 are installed in the following directories:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 `/usr/local/bin' holds the executable programs users normally run -
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
573 `xemacs', `etags', `ctags', `b2m', `emacsclient', `ellcc',
4782
1523f1d28be1 Remove more obsolete files. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents: 4769
diff changeset
574 `gnuclient', `gnudoit', and `gnuattach'.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
576 `/usr/local/share/xemacs-VERSION/lisp' holds the Emacs Lisp libraries;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 `VERSION' stands for the number of the XEmacs version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578 you are installing, like `18.59' or `19.14'. Since
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579 the lisp libraries change from one version of XEmacs to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 another, including the version number in the path
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581 allows you to have several versions of XEmacs installed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582 at the same time; this means that you don't have to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583 make XEmacs unavailable while installing a new version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585 XEmacs searches for its lisp files in these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586 directories, and then in
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
587 `/usr/local/share/xemacs/site-lisp/*'.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
589 `/usr/local/share/xemacs-VERSION/etc' holds the XEmacs tutorial, the
4785
d6cfba1cc388 Remove the lib-src/yow binary, which is currently unused anyway. See message
Jerry James <james@xemacs.org>
parents: 4782
diff changeset
590 Unicode database, and other architecture-independent
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591 files XEmacs might need while running. VERSION is as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592 specified for `.../lisp'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
594 `/usr/local/share/xemacs/lock' contains files indicating who is
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595 editing what, so XEmacs can detect editing clashes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 between users.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 `/usr/local/lib/xemacs-VERSION/CONFIGURATION-NAME' contains executable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599 programs used by XEmacs that users are not expected to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600 run themselves, and the DOC file. `VERSION' is the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601 number of the XEmacs version you are installing, and
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
602 `CONFIGURATION-NAME' is the host type of your system.
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
603 Since these files are specific to the version of
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
604 XEmacs, operating system, and architecture in use,
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
605 including the configuration name in the path allows
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
606 you to have several versions of XEmacs for any mix of
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
607 machines and operating systems installed at the same
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
608 time; this is useful for sites at which different
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
609 kinds of machines share the file system XEmacs is
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
610 installed on.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
612 `/usr/local/lib/xemacs-VERSION/CONFIGURATION-NAME/modules' holds the Emacs
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
613 dynamically loadable modules. These are special programs
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
614 typically written in C that can be loaded in much the same
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
615 way that Lisp packages are. Not all systems support
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
616 dynamic modules, so do not be alarmed if this directory
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
617 does not exist or is empty.
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
618
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
619 XEmacs searches for modules in this directory, or any
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
620 sub-directory of it, and then in
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
621 `/usr/local/lib/xemacs/site-modules/*'.
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
622
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
623 `/usr/local/share/xemacs-VERSION/info' holds the on-line documentation
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
624 for XEmacs, known as "info files".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
625
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
626 `/usr/local/man/man1' holds the man pages for the programs installed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
627 in `/usr/local/bin'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
628
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
629 If these directories are not what you want, you can specify where to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
630 install XEmacs's libraries and data files or where XEmacs should search
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
631 for its lisp files by giving values for `make' variables as part of
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
632 the command.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
633
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634 You can change where the build process installs XEmacs and its data
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635 files by specifying values for `make' variables as part of the `make'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636 command line. For example, if you type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
637
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638 make install bindir=/usr/local/gnubin
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640 the `bindir=/usr/local/gnubin' argument indicates that the XEmacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
641 executable files should go in `/usr/local/gnubin', not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
642 `/usr/local/bin'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
643
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
644 Here is a complete list of the variables you may want to set.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
645
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
646 `bindir' indicates where to put executable programs that users can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
647 run. This defaults to /usr/local/bin.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
648
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
649 `datadir' indicates where to put the architecture-independent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
650 read-only data files that XEmacs refers to while it runs; it
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
651 defaults to /usr/local/data. We create the following
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652 subdirectories under `datadir':
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
653 - `xemacs-VERSION/lisp', containing the XEmacs lisp libraries, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
654
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
655 - `xemacs-VERSION/etc', containing the XEmacs tutorial and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
656 `yow' database.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
657 `VERSION' is the number of the XEmacs version you are installing,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658 like `18.59' or `19.14'. Since these files vary from one version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659 of XEmacs to another, including the version number in the path
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
660 allows you to have several versions of XEmacs installed at the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661 same time; this means that you don't have to make XEmacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 unavailable while installing a new version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
663
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
664 `datarootdir' indicates where to put the documentation. (Usually,
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
665 this is identical to `datadir'---in the default configuration
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
666 `datadir' is set to the value of `datarootdir'.)
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
667 Specifically, the man pages are put in the `man' subdirectory
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
668 of `datarootdir', and the info pages are put in the
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
669 `xemacs/info' subdirectory.
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
670
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671 `statedir' indicates where to put architecture-independent data files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672 that XEmacs modifies while it runs; it defaults to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673 /usr/local/lib as well. We create the following
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
674 subdirectories under `statedir':
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
675 - `xemacs/lock', containing files indicating who is editing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
676 what, so XEmacs can detect editing clashes between
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
677 users.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
678
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
679 `libdir' indicates where to put architecture-specific data files that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
680 XEmacs refers to as it runs; it too defaults to `/usr/local/lib'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
681 We create the following subdirectories under `libdir':
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
682 - `xemacs-VERSION/CONFIGURATION-NAME', containing executable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
683 programs used by XEmacs that users are not expected to run
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
684 themselves, and the DOC file.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
685 `VERSION' is the number of the XEmacs version you are installing,
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
686 and `CONFIGURATION-NAME' is the host type of your system.
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
687 Since these files are specific to the version of XEmacs,
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
688 operating system, and architecture in use, including the
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
689 configuration name in the path allows you to have several
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
690 versions of XEmacs for any mix of machines and operating
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
691 systems installed at the same time; this is useful for sites
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
692 at which different kinds of machines share the file system
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 227
diff changeset
693 XEmacs is installed on.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
694
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
695 `infodir' indicates where to put the info files distributed with
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
696 XEmacs; it defaults to `/usr/local/share/xemacs-VERSION/info'.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
697
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
698 `mandir' indicates where to put the man pages for XEmacs and its
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
699 utilities (like `etags'); it defaults to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
700 `/usr/local/man/man1'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
701
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
702 `prefix' doesn't give a path for any specific part of XEmacs; instead,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
703 its value is used to determine the defaults for all the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
704 architecture-independent path variables - `datadir',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
705 `statedir', `infodir', and `mandir'. Its default value is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
706 `/usr/local'; the other variables add on `lib' or `man' to it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
707 by default.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
708
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
709 For example, suppose your site generally places GNU software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
710 under `/usr/users/software/gnusoft' instead of `/usr/local'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
711 By including
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
712 `prefix=/usr/users/software/gnusoft'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
713 in the arguments to `make', you can instruct the build process
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
714 to place all of the XEmacs data files in the appropriate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
715 directories under that path.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
716
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
717 `exec_prefix' serves the same purpose as `prefix', but instead
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
718 determines the default values for the architecture-dependent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
719 path variables - `bindir' and `libdir'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
720
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
721 The above variables serve analogous purposes in the makefiles for all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
722 GNU software; here are some variables specific to XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
723
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
724 `lispdir' indicates where XEmacs installs and expects its lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
725 libraries. Its default value, based on `datadir' (see above),
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
726 is `/usr/local/share/xemacs-VERSION/lisp' (where `VERSION' is as
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
727 described above).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
728
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
729 `sitelispdir' indicates where XEmacs should search for lisp libraries
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
730 specific to your site. XEmacs checks them in order before
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
731 checking `lispdir'. Its default value, based on `datadir'
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
732 (see above), is `/usr/local/share/xemacs/site-lisp'.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
733
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
734 `etcdir' indicates where XEmacs should install and expect the rest of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
735 its architecture-independent data, like the tutorial and yow
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
736 database. Its default value, based on `datadir'
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
737 (see above), is `/usr/local/share/xemacs-VERSION/etc' (where
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
738 `VERSION' is as described above).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
739
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
740 `lockdir' indicates the directory where XEmacs keeps track of its
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
741 locking information. Its default value, based on `statedir'
5150
0353d546dc1e Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents: 4842
diff changeset
742 (see above), is `/usr/local/share/xemacs/lock'.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
743
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
744 `archlibdir' indicates where XEmacs installs and expects the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
745 executable files and other architecture-dependent data it uses
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
746 while running. Its default value, based on `libdir' (see
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
747 above), is `/usr/local/lib/xemacs-VERSION/CONFIGURATION-NAME'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
748 (where VERSION and CONFIGURATION-NAME are as described above).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
749
420
41dbb7a9d5f2 Import from CVS: tag r21-2-18
cvs
parents: 412
diff changeset
750 `docdir' indicates where to put Lisp documentation strings that XEmacs
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
751 refers to as it runs. It defaults to the value of `archlibdir'
420
41dbb7a9d5f2 Import from CVS: tag r21-2-18
cvs
parents: 412
diff changeset
752 (see above).
41dbb7a9d5f2 Import from CVS: tag r21-2-18
cvs
parents: 412
diff changeset
753
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
754 `moduledir' indicates where XEmacs installs and expects to find
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
755 any dynamic modules. Its default value, based on
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
756 `archlibdir' (see above) is
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
757 `/usr/local/lib/xemacs-VERSION/CONFIGURATION-NAME/modules'
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
758 (where VERSION and CONFIGURATION-NAME are as described above).
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
759 By their very nature, dynamic loadable modules are architecture-
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
760 dependent, and care should be taken not to set this directory
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
761 to a system- or architecture-independent directory.
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 380
diff changeset
762
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
763 Remember that you must specify any variable values you need each time
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
764 you run `make' in the top directory. If you run `make' once to build
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
765 xemacs, test it, and then run `make' again to install the files, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
766 must provide the same variable settings each time. To make the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
767 settings persist, you can edit them into the `Makefile' in the top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
768 directory, but be aware that running the `configure' program erases
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
769 `Makefile' and rebuilds it from `Makefile.in'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
770
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
771 The top-level Makefile stores the variable settings it used in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
772 Makefiles for the subdirectories, so you don't have to specify them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
773 when running make in the subdirectories.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
774
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
775 Using GNU Make allows for simultaneous builds with and without the
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
776 --srcdir option.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
777
1283
32bc2bab419c [xemacs-hg @ 2003-02-10 14:28:09 by stephent]
stephent
parents: 1202
diff changeset
778 STRIPPING BINARIES
32bc2bab419c [xemacs-hg @ 2003-02-10 14:28:09 by stephent]
stephent
parents: 1202
diff changeset
779 ==================
32bc2bab419c [xemacs-hg @ 2003-02-10 14:28:09 by stephent]
stephent
parents: 1202
diff changeset
780
32bc2bab419c [xemacs-hg @ 2003-02-10 14:28:09 by stephent]
stephent
parents: 1202
diff changeset
781 This saves nothing but a small (by modern standards) amount of disk
32bc2bab419c [xemacs-hg @ 2003-02-10 14:28:09 by stephent]
stephent
parents: 1202
diff changeset
782 space; the symbol table is not loaded into memory at execution time.
32bc2bab419c [xemacs-hg @ 2003-02-10 14:28:09 by stephent]
stephent
parents: 1202
diff changeset
783 If you do encounter a crash or other serious bug, the first thing the
32bc2bab419c [xemacs-hg @ 2003-02-10 14:28:09 by stephent]
stephent
parents: 1202
diff changeset
784 developers will do is ask you to build an XEmacs with a full symbol
32bc2bab419c [xemacs-hg @ 2003-02-10 14:28:09 by stephent]
stephent
parents: 1202
diff changeset
785 table, anyway. Don't strip the XEmacs binary.
32bc2bab419c [xemacs-hg @ 2003-02-10 14:28:09 by stephent]
stephent
parents: 1202
diff changeset
786
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
787 MAIL-LOCKING POST-INSTALLATION
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
788 ==============================
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
789
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
790 If your system uses dot-locking to interlock access to mailer inbox
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
791 files, then you might need to make the movemail program setuid or
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
792 setgid to enable it to write the lock files. We believe this is safe.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
793 The setuid/setgid bits need not be set on any other XEmacs-related
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
794 executables.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
795
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
796 CLEANING UP
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
797 ==========
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
798
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
799 You are done with the hard part! You can remove executables and
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
800 object files from the build directory by typing `make clean'. To also
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
801 remove the files that `configure' created (so you can compile XEmacs
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
802 for a different configuration), type `make distclean'.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
803
4508
742a23369b74 Improve package documentation.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 3179
diff changeset
804 READ THE FAQ
742a23369b74 Improve package documentation.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 3179
diff changeset
805 ============
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
806
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
807 Do it!
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
808
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
809 PROBLEMS
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 426
diff changeset
810 ========
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 392
diff changeset
811
1338
314c4e18dda0 [xemacs-hg @ 2003-03-03 10:35:29 by stephent]
stephent
parents: 1283
diff changeset
812 The most common problem is that you forgot to read and follow the
4508
742a23369b74 Improve package documentation.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 3179
diff changeset
813 directions for installing bootstrap packages in the FAQ. You can not
742a23369b74 Improve package documentation.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 3179
diff changeset
814 have a normal XEmacs without downloading some additional packages.
424
11054d720c21 Import from CVS: tag r21-2-20
cvs
parents: 420
diff changeset
815
1036
b33a835c21cc [xemacs-hg @ 2002-10-08 03:11:48 by stephent]
stephent
parents: 845
diff changeset
816 See the file PROBLEMS in this directory for a list of various problems
b33a835c21cc [xemacs-hg @ 2002-10-08 03:11:48 by stephent]
stephent
parents: 845
diff changeset
817 sometimes encountered, and what to do about them. PROBLEMS is also
b33a835c21cc [xemacs-hg @ 2002-10-08 03:11:48 by stephent]
stephent
parents: 845
diff changeset
818 the place where platform-specific build notes can be found.
3050
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
819
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
820 APPENDIX: CORRESPONDENCE TO OLD CONFIGURE OPTIONS
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
821 =================================================
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
822
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
823 Here is a full translation of command line arguments. Note that any
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
824 option starting with "--with" may also be specified with "--enable".
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
825 This list may not be up-to-date.
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
826
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
827 Old | New
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
828 ------------------------------------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
829 General options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
830 ----------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
831
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
832 --help Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
833 --usage Removed
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
834 --verbose Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
835 --extra-verbose Removed
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
836
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
837 Compilation options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
838 --------------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
839
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
840 --compiler --with-compiler
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
841 --xemacs-compiler --with-xemacs-compiler
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
842 --with-gcc Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
843 --cflags --with-cflags
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
844 --cflags-warning --with-cflags-warning
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
845 --debug --with-debug
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
846 New --with-cflags-debug
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
847 New --with-optimization
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
848 New --with-cflags-optimization
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
849 --cpp --with-cpp
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
850 --cppflags --with-cppflags
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
851 --libs --with-libs
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
852 --ldflags --with-ldflags
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
853 --site-includes --with-site-includes
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
854 --site-libraries --with-site-libraries
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
855 --site-prefixes --with-site-prefixes
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
856 --site-runtime-libraries --with-site-runtime-libraries
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
857 --dynamic --with-dynamic
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
858 --srcdir Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
859
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
860 Installation options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
861 ---------------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
862
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
863 --prefix Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
864 --with-prefix Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
865 --with-netinstall Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
866 --bindir Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
867 --datadir Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
868 --statedir Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
869 --libdir Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
870 --infodir Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
871 --mandir Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
872 --lispdir --with-lispdir
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
873 --sitelispdir Removed
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
874 --etcdir --with-etcdir
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
875 --lockdir Removed
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
876 --archlibdir --with-archlibdir
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
877 --docdir --with-docdir
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
878 --moduledir --with-moduledir
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
879
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
880 Run-time path-searching options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
881 --------------------------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
882
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
883 --with-site-lisp Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
884 --with-site-modules Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
885 --package-path --with-package-path
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
886 --infopath --with-infopath
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
887
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
888 Window-system options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
889 ----------------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
890
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
891 --with-gtk Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
892 --with-gnome Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
893 --with-x11 Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
894 --x-includes Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
895 --x-libraries Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
896 --with-msw Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
897 --with-toolbars Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
898 --with-wmcommand Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
899 --with-athena Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
900 --with-menubars Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
901 --with-scrollbars Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
902 --with-dialogs Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
903 --with-widgets Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
904 --with-dragndrop Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
905 --with-cde Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
906 --with-xmu Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
907 --external-widget --with-external-widget
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
908
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
909 TTY (character terminal) options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
910 ---------------------------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
911
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
912 --with-tty Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
913 --with-ncurses Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
914 --with-gpm Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
915
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
916 Image options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
917 --------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
918
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
919 --with-xpm Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
920 --with-png Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
921 --with-jpeg Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
922 --with-tiff Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
923 --with-xface Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
924 --with-gif Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
925
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
926 Sound options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
927 --------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
928
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
929 --with-sound Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
930 --native-sound-lib=LIB --with-native-sound-lib
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
931
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
932 Internationalization options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
933 -----------------------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
934
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
935 --with-mule Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
936 --with-xim Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
937 --with-canna Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
938 --with-wnn Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
939 --with-wnn6 Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
940 --with-xfs Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
941
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
942 File-related options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
943 ---------------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
944
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
945 --with-default-eol-detection Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
946 --with-clash-detection Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
947
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
948 Database options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
949 -----------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
950
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
951 --with-database Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
952 --with-ldap Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
953 --with-postgresql Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
954
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
955 Mail options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
956 -------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
957
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
958 --mail-locking=TYPE --with-mail-locking
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
959 --with-pop Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
960 --with-kerberos Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
961 --with-hesiod Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
962
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
963 Networking options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
964 -------------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
965
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
966 --with-tooltalk Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
967 --with-socks Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
968 --with-dnet Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
969 --with-ipv6-cname Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
970
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
971 Memory allocation options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
972 --------------------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
973
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
974 --rel-alloc --with-rel-alloc
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
975 --with-dlmalloc Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
976 --with-system-malloc Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
977 --with-debug-malloc Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
978
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
979 Emacs Lisp options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
980 -------------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
981
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
982 --use-number-lib --with-bignum
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
983
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
984 Debugging options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
985 ------------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
986
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
987 --debug --with-debug
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
988 --error-checking --with-error-checking
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
989 --memory-usage-stats --with-memory-usage-stats
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
990 --quick-build --with-quick-build
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
991 --use-union-type --with-union-type
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
992 --with-quantify Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
993 --with-purify Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
994
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
995 Developer options:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
996 ------------------
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
997
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
998 --with-workshop Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
999 --pdump --with-pdump
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1000 --use-kkcc --with-kkcc
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1001 --with-modules Unchanged
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1002
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1003 The output files produced by this new configure should be almost
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1004 identical to those produced by the old. This can be tested with the
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1005 provided regression test script. This script runs the two versions of
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1006 configure with the supplied list of command line arguments and reports
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1007 any differences. Please add your favorite configuration command lines
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1008 to the list before running the test. The script is run as:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1009
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1010 $ tests/autoconf/regressiontest.pl /absolute/path/to/2.13/configure \
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1011 /absolute/path/to/2.59/configure >diffs.txt
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1012
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1013 The only differences should be:
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1014 - those related to changes in the command line arguments
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1015 - the change of SYS_SIGLIST_DECLARED to HAVE_DECL_SYS_SIGLIST (because the old
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1016 form has been removed), and
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1017 - The removal of trailing comments in src/config.h.
67b6f3514ffc [xemacs-hg @ 2005-11-07 08:49:12 by stephent]
stephent
parents: 3018
diff changeset
1018