[AC21.5] Fix last patch
12 years
Stephen J. Turnbull
APPROVE COMMIT 21.5
Oops -- looks like my builds got ahead of my rush of well-aged
patches. This fixes.
diff -r ad35a0cd95f5 -r c65b0329894b src/ChangeLog
--- a/src/ChangeLog Mon Dec 24 15:12:52 2012 +0900
+++ b/src/ChangeLog Mon Dec 24 18:40:47 2012 +0900
@@ -1,3 +1,8 @@
+2012-12-24 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ (Fself_insert_command): Oops, Aidan renamed make_int to make_fixnum.
+ Adjust my patch to match. Thank you, Mr. Buildbot (and matsl! :-)
+
2012-12-24 Stephen J. Turnbull <stephen(a)xemacs.org>
* cmds.c (Fself_insert_command):
diff -r ad35a0cd95f5 -r c65b0329894b src/cmds.c
--- a/src/cmds.c Mon Dec 24 15:12:52 2012 +0900
+++ b/src/cmds.c Mon Dec 24 18:40:47 2012 +0900
@@ -334,7 +334,7 @@
/* It is sometimes useful to specify `self-insert-commmand' in Lisp code.
We may as well as all that to be done with default = 1. */
- count = NILP (count) ? make_int(1) : count;
+ count = NILP (count) ? make_fixnum(1) : count;
/* Can't insert more than most-positive-fixnum characters, the buffer
won't hold that many. */
check_integer_range (count, Qzero, make_fixnum (MOST_POSITIVE_FIXNUM));
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
commit/XEmacs: stephen_at_xemacs: Fix last patch.
12 years
Bitbucket
1 new commit in XEmacs:
https://bitbucket.org/xemacs/xemacs/changeset/c65b0329894b/
changeset: c65b0329894b
user: stephen_at_xemacs
date: 2012-12-24 10:40:47
summary: Fix last patch.
affected #: 2 files
diff -r ad35a0cd95f55ae78abe9f52055a6bf492d1f1a6 -r c65b0329894b09c08423739508d277548a0b1a00 src/ChangeLog
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-24 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ (Fself_insert_command): Oops, Aidan renamed make_int to make_fixnum.
+ Adjust my patch to match. Thank you, Mr. Buildbot (and matsl! :-)
+
2012-12-24 Stephen J. Turnbull <stephen(a)xemacs.org>
* cmds.c (Fself_insert_command):
diff -r ad35a0cd95f55ae78abe9f52055a6bf492d1f1a6 -r c65b0329894b09c08423739508d277548a0b1a00 src/cmds.c
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -334,7 +334,7 @@
/* It is sometimes useful to specify `self-insert-commmand' in Lisp code.
We may as well as all that to be done with default = 1. */
- count = NILP (count) ? make_int(1) : count;
+ count = NILP (count) ? make_fixnum(1) : count;
/* Can't insert more than most-positive-fixnum characters, the buffer
won't hold that many. */
check_integer_range (count, Qzero, make_fixnum (MOST_POSITIVE_FIXNUM));
Repository URL: https://bitbucket.org/xemacs/xemacs/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
commit/XEmacs: 2 new changesets
12 years
Bitbucket
2 new commits in XEmacs:
https://bitbucket.org/xemacs/xemacs/changeset/37479d841681/
changeset: 37479d841681
user: stephen_at_xemacs
date: 2012-12-24 06:12:51
summary: Fix subsetp based on patch by Benson and Steven Mitchell.
Add appropriate short-circuits for null set arguments.
Add tests (mostly from Steven Mitchell) to test suite.
affected #: 4 files
diff -r a95c89dc96957f050fd77bd1670674a0da2b3dbe -r 37479d8416810831c38fdf352b5935e29bedf108 src/ChangeLog
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,11 @@
+2012-12-24 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ Based on patch by Benson and Steven Mitchell on XEmacs Beta
+ <50D16FF7.4090708(a)bnin.net>.
+
+ * sequence.c (venn): Fix bug in handling null arguments.
+ Add null set short circuits, conditional on caller is `subsetp'.
+
2012-10-18 Stephen J. Turnbull <stephen(a)xemacs.org>
* fontcolor-xlike-inc.c (xft_find_charset_font):
diff -r a95c89dc96957f050fd77bd1670674a0da2b3dbe -r 37479d8416810831c38fdf352b5935e29bedf108 src/sequence.c
--- a/src/sequence.c
+++ b/src/sequence.c
@@ -7606,6 +7606,20 @@
CHECK_LIST (liszt2);
CHECK_KEY_ARGUMENT (key);
+
+ /* #### Consider refactoring these tests into callers, and/or optimizing
+ tests. */
+ if (EQ (caller, Qsubsetp))
+ {
+ if (NILP (liszt1))
+ {
+ return Qt;
+ }
+ if (NILP (liszt2))
+ {
+ return Qnil;
+ }
+ }
if (NILP (liszt1) && intersectionp)
{
diff -r a95c89dc96957f050fd77bd1670674a0da2b3dbe -r 37479d8416810831c38fdf352b5935e29bedf108 tests/ChangeLog
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-19 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * automated/lisp-tests.el: Add tests of #'subsetp.
+ Thanks Steven and Benson Mitchell <smitchell(a)bnin.net>.
+
2012-12-14 Mats Lidell <matsl(a)xemacs.org>
* automated/register-tests.el: New. Test for register.el. Test
diff -r a95c89dc96957f050fd77bd1670674a0da2b3dbe -r 37479d8416810831c38fdf352b5935e29bedf108 tests/automated/lisp-tests.el
--- a/tests/automated/lisp-tests.el
+++ b/tests/automated/lisp-tests.el
@@ -2435,6 +2435,23 @@
(gethash hashed-bignum hashing))
"checking hashing works correctly with #'eql tests and bignums"))))
+;; #'subsetp tests.
+;; Return non-nil if every element of LIST1 also appears in LIST2.
+;; A couple of non-nondegenerate false cases.
+(Assert (not (subsetp (list ?a ?b) (list ?c ?d))))
+(Assert (not (subsetp (list ?a ?b) (list ?b ?c ?d))))
+;; Next five thanks to Steven and Benson Mitchell on XEmacs Beta
+;; <50D16FF7.4090708(a)bnin.net>.
+;; Two non-degenerate true cases.
+(Assert (subsetp (list ?a) (list ?a ?b ?c ?d)))
+(Assert (subsetp (list ?a ?b) (list ?a ?b ?c ?d)))
+;; The three degenerate cases involving nil.
+(Assert (not (subsetp (list ?a) nil)))
+(Assert (subsetp nil (list ?a ?b ?c ?d)))
+(Assert (subsetp nil nil))
+;; #### We should also test the keywords.
+;; #### We should also test the error conditions.
+
;;
(when (decode-char 'ucs #x0192)
(Check-Error
https://bitbucket.org/xemacs/xemacs/changeset/ad35a0cd95f5/
changeset: ad35a0cd95f5
user: stephen_at_xemacs
date: 2012-12-24 07:12:52
summary: Allow self-insert-command to be called noninteractively with null argument.
affected #: 2 files
diff -r 37479d8416810831c38fdf352b5935e29bedf108 -r ad35a0cd95f55ae78abe9f52055a6bf492d1f1a6 src/ChangeLog
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-24 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * cmds.c (Fself_insert_command):
+ Allow noninteractive call with null argument.
+
2012-12-24 Stephen J. Turnbull <stephen(a)xemacs.org>
Based on patch by Benson and Steven Mitchell on XEmacs Beta
diff -r 37479d8416810831c38fdf352b5935e29bedf108 -r ad35a0cd95f55ae78abe9f52055a6bf492d1f1a6 src/cmds.c
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -332,6 +332,9 @@
Lisp_Object c;
EMACS_INT n;
+ /* It is sometimes useful to specify `self-insert-commmand' in Lisp code.
+ We may as well as all that to be done with default = 1. */
+ count = NILP (count) ? make_int(1) : count;
/* Can't insert more than most-positive-fixnum characters, the buffer
won't hold that many. */
check_integer_range (count, Qzero, make_fixnum (MOST_POSITIVE_FIXNUM));
Repository URL: https://bitbucket.org/xemacs/xemacs/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
[AC21.5] Fix subsetp bug on null set arguments
12 years
Stephen J. Turnbull
APPROVE COMMIT 21.5
This fixes the bug reported by Steven Mitchell on XEmacs Beta, using
the patch he and Benson Mitchell provided.
It also adds some tests for subsetp, mostly provided by Steven.
# HG changeset patch
# Parent a95c89dc96957f050fd77bd1670674a0da2b3dbe
Fix subsetp based on patch by Benson and Steven Mitchell.
Add appropriate short-circuits for null set arguments.
Add tests (mostly from Steven Mitchell) to test suite.
diff -r a95c89dc9695 src/ChangeLog
--- a/src/ChangeLog Mon Dec 24 04:16:31 2012 +0900
+++ b/src/ChangeLog Mon Dec 24 14:12:51 2012 +0900
@@ -1,3 +1,11 @@
+2012-12-24 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ Based on patch by Benson and Steven Mitchell on XEmacs Beta
+ <50D16FF7.4090708(a)bnin.net>.
+
+ * sequence.c (venn): Fix bug in handling null arguments.
+ Add null set short circuits, conditional on caller is `subsetp'.
+
2012-10-18 Stephen J. Turnbull <stephen(a)xemacs.org>
* fontcolor-xlike-inc.c (xft_find_charset_font):
diff -r a95c89dc9695 src/sequence.c
--- a/src/sequence.c Mon Dec 24 04:16:31 2012 +0900
+++ b/src/sequence.c Mon Dec 24 14:12:51 2012 +0900
@@ -7606,6 +7606,20 @@
CHECK_LIST (liszt2);
CHECK_KEY_ARGUMENT (key);
+
+ /* #### Consider refactoring these tests into callers, and/or optimizing
+ tests. */
+ if (EQ (caller, Qsubsetp))
+ {
+ if (NILP (liszt1))
+ {
+ return Qt;
+ }
+ if (NILP (liszt2))
+ {
+ return Qnil;
+ }
+ }
if (NILP (liszt1) && intersectionp)
{
diff -r a95c89dc9695 tests/ChangeLog
--- a/tests/ChangeLog Mon Dec 24 04:16:31 2012 +0900
+++ b/tests/ChangeLog Mon Dec 24 14:12:51 2012 +0900
@@ -1,3 +1,8 @@
+2012-12-19 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * automated/lisp-tests.el: Add tests of #'subsetp.
+ Thanks Steven and Benson Mitchell <smitchell(a)bnin.net>.
+
2012-12-14 Mats Lidell <matsl(a)xemacs.org>
* automated/register-tests.el: New. Test for register.el. Test
diff -r a95c89dc9695 tests/automated/lisp-tests.el
--- a/tests/automated/lisp-tests.el Mon Dec 24 04:16:31 2012 +0900
+++ b/tests/automated/lisp-tests.el Mon Dec 24 14:12:51 2012 +0900
@@ -2435,6 +2435,23 @@
(gethash hashed-bignum hashing))
"checking hashing works correctly with #'eql tests and bignums"))))
+;; #'subsetp tests.
+;; Return non-nil if every element of LIST1 also appears in LIST2.
+;; A couple of non-nondegenerate false cases.
+(Assert (not (subsetp (list ?a ?b) (list ?c ?d))))
+(Assert (not (subsetp (list ?a ?b) (list ?b ?c ?d))))
+;; Next five thanks to Steven and Benson Mitchell on XEmacs Beta
+;; <50D16FF7.4090708(a)bnin.net>.
+;; Two non-degenerate true cases.
+(Assert (subsetp (list ?a) (list ?a ?b ?c ?d)))
+(Assert (subsetp (list ?a ?b) (list ?a ?b ?c ?d)))
+;; The three degenerate cases involving nil.
+(Assert (not (subsetp (list ?a) nil)))
+(Assert (subsetp nil (list ?a ?b ?c ?d)))
+(Assert (subsetp nil nil))
+;; #### We should also test the keywords.
+;; #### We should also test the error conditions.
+
;;
(when (decode-char 'ucs #x0192)
(Check-Error
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
commit/XEmacs: stephen_at_xemacs: Reorganize and update INSTALL.
12 years
Bitbucket
1 new commit in XEmacs:
https://bitbucket.org/xemacs/xemacs/changeset/a95c89dc9695/
changeset: a95c89dc9695
user: stephen_at_xemacs
date: 2012-12-23 20:16:31
summary: Reorganize and update INSTALL.
affected #: 2 files
diff -r 0bd991c31cd13e40aea42f466bd3180c6743da14 -r a95c89dc96957f050fd77bd1670674a0da2b3dbe ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-04 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * INSTALL: Reorganize and update.
+ Thanks to Steven Mitchell for the suggestion.
+
2012-08-04 Stephen J. Turnbull <stephen(a)xemacs.org>
* configure.ac (Package Search): New Installation section.
diff -r 0bd991c31cd13e40aea42f466bd3180c6743da14 -r a95c89dc96957f050fd77bd1670674a0da2b3dbe INSTALL
--- a/INSTALL
+++ b/INSTALL
@@ -1,7 +1,7 @@
XEmacs Installation Guide
-Copyright (c) 1994, 1995, 1996 Board of Trustees, University of Illinois
-Copyright (c) 1994-1999, 2003, 2008 Free Software Foundation, Inc.
+Copyright (c) 1994-1996 Board of Trustees, University of Illinois
+Copyright (c) 1994-1999, 2003, 2008, 2012 Free Software Foundation, Inc.
Permission is granted to anyone to make or distribute verbatim copies
of this document as received, in any medium, provided that the
@@ -20,370 +20,171 @@
(for Microsoft Windows, see nt/README also.)
+This file is in the process of revision. Some random information that didn't
+fit elsewhere is appended to the end of the file.
+
PREREQUISITES
=============
-Make sure your system has enough swapping space allocated to handle a
-program whose pure code is 900k bytes and whose data area is at least
-400k and can reach 8Mb or more. Note that a typical XEmacs process
-can get much bigger: the instance this sentence was written with is
-over 100MB! If the swapping space is insufficient, you will get an
-error in the command `temacs -batch -l loadup dump', found in
-`./src/Makefile.in.in', or possibly when running the final dumped
-XEmacs.
+Modern systems generally have more than enough RAM and virtual memory to run
+XEmacs well. If you run into an "insufficient memory" error when building
+or on the first execution, see the 'PROBLEMS' file. In sufficient stack
+space is a separate problem, also address in 'PROBLEMS'.
-Verify that your users have a high enough stack limit. On some systems
-such as OpenBSD and OSF/Tru64 the default is 2MB which is too low. On
-MacOS/X (Darwin) before 10.3, it's 512kB. See 'PROBLEMS' for details.
-
-Building XEmacs requires about 100 Mb of disk space (including the
-XEmacs sources). Once installed, XEmacs occupies between 20 and 100
-MB in the file system where it is installed; this includes the
-executable files, Lisp libraries, miscellaneous data files, and
-on-line documentation. The exact amount depends greatly on the number
-of extra Lisp packages that are installed.
+Building XEmacs requires about 100 Mb of disk space (including the XEmacs
+sources). Once installed, XEmacs occupies about 200 MB in the file system
+where it is installed, including the executable files, Lisp libraries,
+miscellaneous data files, and on-line documentation.
XEmacs requires an ANSI C compiler, such as GCC. If you wish to build the
documentation yourself, you will need at least version 1.68 of makeinfo (GNU
-texinfo-3.11). GNU Texinfo 4.2 is recommended; it is necessary for building
-Lisp packages, and we may move to it for the core.
+texinfo-3.11). GNU Texinfo 4.2 is strongly recommended; it is necessary for
+building Lisp packages, and we may move to it for the core.
-A note on terminology: unfortunately the terms "library" and "package"
-are heavily overloaded. In the following, "library" refers to an
-external body of executable code which may be linked with XEmacs at
-build time to provide support for system features, such as images,
-audio, stream compression, databases, and input methods. A "Lisp
-library" is a file of Lisp code which may be loaded into XEmacs at
-run-time to provide editor features. A "package" is a specially
-prepared Lisp library or set of Lisp libraries, providing for easy
-installation, upgrade, and removal of applications written in Lisp.
+BASIC INSTALLATION
+==================
-PACKAGE SYSTEM
-==============
+Since you are reading this, we assume you have already acquired XEmacs in
+source form, and the packages as tarballs. If not, see www.xemacs.org.
-The FAQ sections 1.7 and 2.1 contain information vital to have a fully
-working XEmacs. It includes a description of available packages, and
-how to bootstrap XEmacs from a minimal or a complete set of packages.
-This information was not included in this file only because it is too
-large for this terse INSTALL. The FAQ is available in Texinfo format
-in man/xemacs-faq.texi, as an Info file once you build XEmacs, and
-online at http://www.xemacs.org/Documentation/21.5/html/xemacs-faq_1.html.
+Building and installing XEmacs from source can be as simple as
-ADD-ON LIBRARIES
-================
+ cd /usr/local/src/xemacs; ./configure; make; make install
-Decide which libraries you would like to use with XEmacs, but are not
-yet available on your system. On some systems, X11, Motif and CDE are
-optional additions. On MacOS/X systems prior to 10.2, you may download
-X11R6 for Mac OS X from http://www.apple.com/macosx/x11/download/. In
-later releases X11 is available as an optional package on the
-installation CDs. In either case you need both the runtime libraries
-and the SDK (in a sidebar of that page at the time of writing). There
-is also a 3rd-party implementation of X11R6 for the Mac at
-http://www.xdarwin.org/. On Solaris, the SUNWaudmo package enables
-native sound support. There are also a number of free software
-applications that XEmacs can use. If these are not yet available on
-your system, obtain, build and install those external libraries before
-building XEmacs. The libraries XEmacs can use are:
+followed by installing the packages
- Xaw3d, XPM, JPEG, compface, PNG, zlib, GNU DBM, Berkeley DB, socks,
- term, NAS, Canna, Kinput2, SJ3, Wnn, PostgreSQL, LDAP.
+ mkdir -p /usr/local/share/xemacs
+ cd /usr/local/share/xemacs
+ tar xzf /tmp/xemacs-sumo.tar.gz
-You can get (most of) them from the XEmacs FTP archive at
-<ftp://ftp.xemacs.org/pub/xemacs/aux>. Information about what
-each library does is available in the file
-<ftp://ftp.xemacs.org/pub/xemacs/aux/00README.txt>.
+However, this depends on the presence of relevant development resources on
+your system, and there are a few frequently used features that are not built
+in by default. To build XEmacs incorporating such features, the steps
+required are exactly as above, except that you need to start by confirming
+the availability of required libraries and headers, and select them by
+invoking configure with the appropriate options.
-Use the `--with-site-includes' and `--with-site-libraries' options when
-building XEmacs to allow configure to find the external software
-packages. For your convenience these can be set together by using the
-`--with-site-prefixes' option. This will set these variables as needed
-assuming your libraries are organised as a typical /usr tree.
+Add-on Libraries
+----------------
-If you link dynamically with external libraries, usually denoted by
-".so" (Unix), ".dll" (Windows), or ".dylib" (MacOS) file extensions, on
-some systems you may also need to add the library directories to the
-`--with-site-runtime-libraries' option. It is typically necessary only
-if you link with dynamic libraries that are installed in non-standard
-directories, or if you expect some of the libraries used to build XEmacs
-to be in a different directory at run time than at build time.
+A note on terminology: unfortunately the terms "library" and "package" are
+heavily overloaded. In this section, "library" refers to an external body of
+executable code which may be linked with XEmacs at build time to provide
+support for system features, such as images, audio, stream compression,
+databases, and input methods. Libraries must be available when XEmacs is
+built. A "module" is also a dynamically loadable library, but it is built
+from the XEmacs sources, after the XEmacs executable is built.
-NOTE: This option has unusual semantics. ONLY libraries found in the
-directories specified in this option will be used at runtime. This
-means you must specify ALL directories you want searched at runtime in
-this option (perhaps excluding a very small number of standard system
-library paths).
+We assume that your system has a GUI windowing system, specifically X11 (the
+X Window System) or Microsoft Windows. XEmacs can also use various toolkits
+and widget kits for X11, including Xt, GTK+/GNOME, and CDE, depending on
+platform. If you don't have a window system installed, XEmacs will be built
+only with terminal support. (For unreleased ports to Qt/KDE and Mac OS X,
+ask on the xemacs-beta(a)xemacs.org mailing list.)
-Directories specified with `--with-site-libraries' are NOT automatically
-added. The rationale is that most users will not need this option, and
-this allows the builder to specify exactly the needed directories.
-Specifying unnecessary directories leads to obscure problems (typically
-startup delays) if those directories are mounted over a network, and the
-automounter configuration changes. Not all systems need this option;
-it's best to avoid using it if you can.
+XEmacs can use a large number of additional libraries that are commonly
+available in many operating system distributions. Many are also available as
+open source distributions. These include:
-Dynamic linking has pros and cons. Dynamically linking 3rd party
-libraries to XEmacs decreases the size of the binary, and means you
-don't need to rebuild XEmacs to take advantage of improvements in the
-libraries. On the other hand, XEmacs can fail subtly if the semantics
-of a library changes, other users may not be able to use your
-"private" copies of the libraries, and you may have to relink XEmacs,
-or even omit the feature, if the ABI changes when the libraries are
-upgraded.
+ GTK+, GNOME:
+ An alternative to the Xt toolkit on X11-based window systems. GNOME
+ is the desktop environment usually used with GTK+.
+ Xaw3d, XawNeXT, XawXPM, Xaw95:
+ Variants on the basic Athena widgets, which change the "look and feel"
+ of XEmacs built using the Xt toolkit.
+ Motif, CDE, Tooltalk:
+ Mostly useful on Solaris systems (CDE and Tooltalk may be obsolete).
+ Motif may be substituted for the Athena widgets on most systems
+ supporting X11.
+ XPM, JPEG, TIFF, PNG, compface:
+ Image format libraries. XPM and PNG are almost essential (they are
+ used to display parts of the XEmacs GUI).
+ zlib:
+ Supports gzip compression and decompression.
+ socks:
+ An old system for passing firewalls (may be obsolete).
+ GMP, MP:
+ Multiple precision arithmetic libraries ("bignums") from GNU and BSD.
+ curses, ncurses, termcap:
+ Character-based terminal support.
+ ALSA, OSS, ESD, NAS:
+ Various systems for audio output.
+ Canna, SJ3, Wnn:
+ Input systems for Japanese. (XEmacs accesses these libraries directly
+ rather than through more modern protocols such ibus and IIIMF. XEmacs
+ can use XIM, but that is now considered obsolete.)
+ Databases:
+ GNU DBM, Berkeley DB, PostgreSQL, LDAP.
-CONFIGURATION OPTIONS
-=====================
+WARNING: In many distributions, you may have the necessary libraries
+installed, but not the "header files" which provide the APIs used by XEmacs
+to link to the libraries. Such distributions provide additional packages,
+usually given names ending in "-dev" or "-devel", to supply the header files.
-In the top level directory of the XEmacs distribution, run the
-program `configure' as follows:
+XEmacs looks only in the default system directories for header files and
+libraries. This will be sufficient unless you have built and installed
+libraries yourself, or you use an add-on package manager like MacPorts on Mac
+OS X. In this case you will need to supply the "--with-site-prefixes"
+option, setting it to the root of the installation of such packages. Eg, the
+most common setting is "--with-site-prefixes=/usr/local", which tells the
+build process to search for headers in "/usr/local/include" for libraries
+under "/usr/local/lib". (Use a colon to separate multiple directories.)
- ./configure [CONFIGURATION-NAME] [--OPTION[=VALUE]] ...
+If you need help installing additional libraries and header files, the best
+resource is the help channels for your OS distribution. If that doesn't
+help, or you think you have the right files installed but the built XEmacs
+doesn't seem to have all the corresponding features, check with the newsgroup
+'comp.emacs.xemacs' or the mailing list 'xemacs-beta(a)xemacs.org'.
-Options are generally of the form `--with-FEATURE' or
-`--enable-FEATURE' to use a feature or `--without-FEATURE' or
-`--disable-FEATURE' to not use a feature. Unlike the `configure'
-program used in other applications, either `--with-FEATURE' or
-`--enable-FEATURE' can be used to use the same feature.
+SELECTING configure OPTIONS
+===========================
-If you haven't built XEmacs 21.5 recently, the change from the
-configure script based on Autoconf 2.13 can be a shock. Appendix:
-Correspondence to Old Configure Options (at the end of this document)
-contains a list of old options and their new equivalents.
+Options are generally of the form `--with-FEATURE' to use a feature or
+`--without-FEATURE' to not use a feature. (Unlike the `configure' program
+used in other applications, either `--with-FEATURE' or `--enable-FEATURE' can
+be used to enable the same feature.)
-Controlling the Host Type
--------------------------
+To get a long list of options and usage for the `configure' script, use
+`./configure --help' (piped to less if you prefer that to scrolling your
+terminal).
-Almost always, you should let `configure' (actually the shell script
-`config.guess') guess your host type, by omitting the
-CONFIGURATION-NAME argument. If you like to experiment, specify a
-configuration name in the form MACHINE-VENDOR-OPSYS, for example:
+Each option's explanation says what its default is. For Boolean options, the
+default may be "yes", "no", or "auto". If the default is "no", the feature
+will not be included, and if any option that depends on it is enabled,
+configure will fail with a fatal error. If the default is "yes", the feature
+will be included, and configure will fail with a fatal error if any required
+headers or libraries cannot be found. If the default is "auto", the feature
+will be included if configure can find the needed headers and libraries.
-sparc-sun-solaris2.6
+Even if a feature's default is "auto", it is useful to explicitly request its
+configuration. If the necessary headers or libraries aren't found, configure
+will fail loudly instead of silently configuring an XEmacs without your
+favorite features.
-See config.guess and configure.in for valid values for MACHINE,
-VENDOR, and OPSYS. Also check `./etc/MACHINES' for advice on building
-on particular machines.
+Configuring the Installation Locations
+--------------------------------------
-Specifying Location of Headers and Libraries
---------------------------------------------
+Often the default location for the XEmacs installation ("/usr/local") is
+appropriate. If you prefer to put the installation somewhere else, use the
+`--prefix' option, such as `--prefix=/opt/local/xemacs'.
-The `--with-site-includes=DIR' and `--with-site-libraries=DIR' options
-allow you to specify additional places the compiler should look for
-include files and object libraries. You may specify multiple DIR's by
-enclosing the list in quotes. All the external libraries you want to
-use with XEmacs (e.g. xpm, wnn, ...) described later should have their
-include and library directories defined using these options.
+As of late 2011, XEmacs is transitioning from the traditional "$prefix/lib"
+location to the FHS-conforming location "$prefix/share" for packages. If you
+already have packages installed under, say, "/usr/local/lib" and would prefer
+not to move them, use `--with-system-packages=/usr/local/lib/xemacs'. (The
+value of this option should be the name of the directory containing the
+"xemacs-packages", "mule-packages", and/or "site-packages" hierarchies.)
-The `--with-site-runtime-libraries=DIR' option specifies directories to
-search for shared libraries at run time. If you use this option, you
-must specify ALL of the directories containing shared libraries at run
-time, including system directories. Please read the information about
-"ADD-ON LIBRARIES" above very carefully.
+The standard configuration of XEmacs builds in absolute paths for its various
+support files. It is possible to make the XEmacs installation relocatable by
+using the option `--without-prefix'. Then all paths are computed at runtime
+relative to the "bin" directory where the XEmacs executable is located.
-The `--x-includes=DIR' and `--x-libraries=DIR' options tell the build
-process where the compiler should look for the include files and
-object libraries used with the X Window System. Normally, `configure'
-is able to find them; these options are necessary if you have your X
-Window System files installed in unusual places.
-
-Configuring the Build Process
------------------------------
-
-The `--with-gcc=PROGRAM' option specifies that the build process should
-compile XEmacs using GCC. The `--with-compiler' option allows you to
-specify some other compiler to be used to compile XEmacs. If neither
-option is specified, the environment variable CC is used instead.
-Otherwise the compiler will then default to 'cc'.
-
-The `--with-xemacs-compiler=PROGRAM' option specifies the compiler
-control program for the xemacs binary only. Other C code will be
-compiled according to the `--with-gcc' and `--with-compiler' options
-above. This is useful if you wish to compile XEmacs with a C++
-compiler, because the utilities in ./lib-src cannot be compiled as C++.
-This option is primarily intended for use by the maintainers.
-
-The `--with-cflags=FLAGS' option specifies all of the CFLAGS the build
-process should use when compiling XEmacs, except for flags controlling
-warning generation. Otherwise the value of the environment variable
-CFLAGS is consulted. If that is also undefined, CFLAGS defaults to "-g
--O" for gcc and "-g" for all other compilers.
-
-The `--with-cflags-warning=FLAGS' option specifies the warnings to be
-generated. There is normally no reason to use this flag, as XEmacs
-turns on as many warnings as possible, and is still intended to build
-with no warnings. If you get any undocumented warnings, please report
-them as bugs---they very often are, or at least indicate possible
-bitrot.
-
-The `--with-cflags-optimization=FLAGS' option specifies the
-optimizations to be used. There is normally no reason to use this
-flag, as XEmacs will already set the maximum safe optimization flags
-appropriate for the compiler being invoked.
-
-The `--with-cflags-debugging=FLAGS' option specifies debugging
-information to be generated. You should avoid using this flag, as it
-makes most severe or fatal bugs hard-to-impossible to diagnose and
-fix. Debugging information does not slow down XEmacs at runtime, and
-it doesn't make the binary very much bigger.
-
-The `--with-dynamic' option specifies that configure should try to
-link XEmacs dynamically rather than statically. `--with-static'
-specifies the reverse. XEmacs's configure script detects whether
-dynamic linking can be done on all platforms we know of; these options
-are normally unnecessary.
-
-The `--with-modules' option specifies that XEmacs be built with
-support for runtime loadable modules. NOTE TO OEMS: XEmacs can be
-distributed configured to support several options based on external
-APIs (currently LDAP, PostgreSQL, and Canna) as loadable modules. You
-can distribute an XEmacs binary package with these options enabled
-without depending on the external package. XEmacs will fail
-gracefully at runtime, issuing an error message indicating that the
-required support was not found on the system.
-
-You can build XEmacs for several different machine types from a single
-source directory. To do this, you must use a version of `make' that
-supports the `VPATH' variable, such as GNU `make'. Create separate
-build directories for the different configuration types, and in each
-one, run the XEmacs `configure' script. `configure' looks for the
-Emacs source code in the directory that `configure' is in. The
-`--srcdir' option may not work correctly (traditionally it was
-overridden by the directory containing `configure').
-
-Configuring the Installation Layout
------------------------------------
-
-The `--prefix=PREFIXDIR' option specifies where the installation process
-should put XEmacs and its data files. This defaults to `/usr/local'.
-- XEmacs (and the other utilities users run) go in PREFIXDIR/bin
- (unless the `--exec-prefix' option says otherwise).
-- The architecture-independent files go in PREFIXDIR/share/xemacs-VERSION
- (where VERSION is the version number of XEmacs, like `21.0').
-- The architecture-dependent files go in
- PREFIXDIR/lib/xemacs-VERSION/CONFIGURATION-NAME
- (where CONFIGURATION-NAME is the host type, like mips-dec-ultrix4.2),
- unless the `--exec-prefix' option says otherwise.
-
-The `--exec-prefix=EXECDIR' option allows you to specify a separate
-portion of the directory tree for installing architecture-specific
-files, like executables and utility programs. If specified,
-- XEmacs (and the other utilities users run) go in EXECDIR/bin, and
-- The architecture-dependent files go in
- EXECDIR/lib/xemacs-VERSION/CONFIGURATION-NAME.
-EXECDIR/bin should be a directory that is normally in users' PATHs.
-
-If you specify --prefix (or any of the other installation directory
-options), they will get compiled into the xemacs executable so it will
-be able to find its various associated files. However, XEmacs has
-quite elaborate logic to find out the locations of these directories
-dynamically. Sometimes, it is desirable *not* to compile these
-directories into the executable so you can move the XEmacs
-installation around (as whole) at will. This is true for binary kits,
-for instance. Therefore, you can specify --without-prefix on the
-configure command line to prevent the installation prefix to become
-part of the generated executable; everything else will continue to
-work as usual.
-
-Unlike previous versions of XEmacs (21.4 or earlier),
-architecture-independent files (in particular, the Lisp files and
-package hierarchies) by default get installed under `/usr/local/share'
-rather than `/usr/local/lib'. To create a setup as in previous
-versions, use the `--datadir=/usr/local/lib' option to configure.
-
-Configuring Feature Support
----------------------------
-
-If you don't want X Window System support, specify `--without-x'. If
-you omit this option, `configure' will try to autodetect whether your
-system has X Window System support, and arrange to use it if present.
-
-The `--with-menubars=TYPE' option allows you to specify which X
-toolkit you wish to use for the menubar. The valid options are
-`lucid', `motif' and `no'. The default is `lucid' which is a
-Motif-lookalike menubar. We highly recommend its usage over the real
-Motif menubar. (In fact, the Motif menubar is currently broken.) If
-`no' is specified then support for menubars will not be compiled in.
-
-The `--with-scrollbars=TYPE' option allows you to specify which X
-toolkit you wish to use for the scrollbars. The valid options are
-`lucid', `motif', `athena', `athena3d', and `no'. The default is
-`lucid' which is a Motif-lookalike scrollbar. If `no' is specified then
-support for scrollbars will not be compiled in.
-
-The `--with-dialogs=TYPE' option allows you to specify which X toolkit
-you wish to use for the dialog boxes. The valid options are `athena',
-`athena3d', `motif, and `no. The `lucid' option is accepted and will
-result in the `athena' toolkit being used. If the Motif toolkit can be
-found the default is `motif'. Otherwise, the default is `athena'. If
-`no' is specified then support for dialog boxes will not be compiled in.
-
-The `--with-toolbars' option allows you to enable or disable toolbar
-support. The default is `yes' if support for a windowing system is
-included.
-
-The `--with-xpm' option specifies that XEmacs should support X11
-Pixmaps. `configure' will attempt to detect if you have the Xpm
-libraries and define `--with-xpm' for you.
-
-The `--with-xface' option specifies that XEmacs should support
-X-Faces. `configure' will attempt to detect if you have the compface
-library and define `--with-xface' for you.
-
-The `--with-database' option specifies that XEmacs should be built
-with simple database support. The valid options are `no' or a
-comma-separated list of one or more of `dbm', `gnudbm' or `berkdb'.
-`configure' will attempt to detect the necessary libraries and header
-files and define `--with-database' for you.
-
-The `--with-postgresql' option specifies that XEmacs should be built
-with PostgreSQL support, linking with libpq. `configure' will attempt
-to detect whether PostgreSQL support is available, and automatically
-define `--with-postgresql' for you. NOTE TO OEMS: If modules are
-supported and enabled, the libpq API support will be build as a
-module.
-
-The `--with-ldap' option specifies that XEmacs should be build with
-LDAP support, using the OpenLDAP libraries. `configure' will attempt
-to detect whether LDAP support is available, and automatically define
-`--with-ldap' for you. NOTE TO OEMS: If modules are supported and
-enabled, the OpenLDAP API support will be build as a module.
-
-The `--with-socks' option specifies that XEmacs should be built with
-SOCKS support. This requires the libsocks library.
-
-The `--with-external-widget' option specifies that XEmacs should be
-built with support for being used as a widget by other X11 applications.
-This functionality should be considered beta.
-
-The `--with-sound=TYPE' option specifies that XEmacs should be built
-with sound support. Native (`--with-sound=native') sound support is
-currently available only on Sun SparcStations, SGI's, HP9000s, and
-systems (such as Linux) with soundcard.h. Network Audio Support (NAS)
-(`--with-sound=nas') is an extension to X that you may or may not have
-for your system. For NAS, you will probably need to provide the paths
-to the nas include and library directories to configure. If
-`--with-sound' is not specified, `configure' will attempt to determine
-if your configuration supports native sound and define --with-sound
-for you. If your native sound library is not in a standard location you
-can specify it with the `--with-native-sound-lib=LIB' flag. For Linux,
-`/dev/audio' is required for SunAudio files and `/dev/dsp' is required
-for raw data and WAVE format files.
-
-The `--with-tooltalk' option specifies that XEmacs should be built
-with ToolTalk support for interconnecting with other applications.
-ToolTalk is not yet supported on all architectures. If you use this
-option, you should have the tooltalk package (see etc/PACKAGES)
-installed prior to building XEmacs.
-
-The `--with-sparcworks' option specifies that XEmacs should be built
-with support for Sun Sparcworks 3.0.1 and up (including Sun WorkShop).
-This functionality is only of use on SunOS 4.1.x and Solaris 2.x
-systems. If you use this option, you should have the Sun package (see
-etc/PACKAGES) installed prior to building XEmacs.
-
-The `--with-cde' option allows you to enable or disable CDE drag and
-drop support. `configure' will attempt to detect this option and
-define `--with-cde' for you.
+There are a plethora of additional options for controlling exactly where
+different parts of XEmacs are installed. We *strongly* recommend sticking
+with the standard layout, except as just described. If you want to
+experiment, these additional configure options are described in a later
+section.
Internationalization Options
----------------------------
@@ -396,195 +197,231 @@
Europeans. Enabling Mule support requires the mule-base package
installed prior to building XEmacs. The `--with-xim', --with-xfs',
`--with-canna', `--with-wnn' and `--with-wnn6' options require
-Mule support.
+Mule support. (Default: no.)
-The `--with-xim' option enables use of the X11 XIM mechanism to allow
-an input method to input text into XEmacs. The input method is shared
-among all the X applications sharing an X display and using the same
-language. The XIM support comes in two flavors: `motif' and `xlib'.
-The Motif support (the XmIm* functions) is preferred when available.
-The xlib XIM support works reasonably well so long as the X11 libraries
-are recent enough. It has been fairly well tested on Linux with glibc
-2.0.5 and 2.0.6 and Kinput2 as an XIM server. In this configuration
-X11 must be recompiled with X_LOCALE defined because glibc is lacking
-localization for Japanese. The XIM support defaults to `no' except
-when Motif is detected where it is stable with OSF libraries. The XIM
-support in Lesstif (a Free Motif replacement) does not work as of
-v0.82. If you enable this option, you will probably wish to install
-the `locale' package which contains localized Splash screens and
-Menubars.
-
-The `--with-xfs' option enables use of a multilingual Menubar. At the
-present time, only Japanese and French locales are supported. In
-order to use a multilingual Menubar you must have the `locale' package
-installed. The `locale' package does not have to be installed when
-building XEmacs.
-
-The `--with-canna' option enables the use of the Canna Japanese input
-method. This is stable code and fairly well tested. In order to use
-it, you will have to have the Canna server installed and running. Canna
-versions 3.2pl2, 3.5b2, and 3.7p3 are known to work. Version 3.2pl2 is
-considered more stable than version 3.5b2; the stability of 3.7p3 is
-still unknown. If Canna is already installed, configure will autodetect
-it, so you never need to explicitly use this option unless your Canna
-libraries are somewhere strange. Canna run time support is currently
-bundled with the `mule-base' package so there is nothing additional to
-install in order to use it. NOTE TO OEMS: If modules are supported
-and enabled, the libcanna API support will be build as a module.
+The `--with-canna' option enables the use of the Canna Japanese input method.
+This is stable code and fairly well tested. In order to use it, you will
+have to have the Canna server installed and running. Canna versions 3.2pl2,
+3.5b2, and 3.7p3 are known to work. Version 3.2pl2 is considered more stable
+than version 3.5b2; the stability of 3.7p3 is still unknown. If Canna is
+already installed, configure will autodetect it, so you never need to
+explicitly use this option unless your Canna libraries are somewhere strange.
+Canna run time support is currently bundled with the `mule-base' package so
+there is nothing additional to install in order to use it. NOTE TO OEMS: If
+modules are supported and enabled, the libcanna API support will be build as
+a module. (Default: no.)
The `--with-wnn' and `--with-wnn6' options are for compiling with the Wnn
-multi-language input method. `--with-wnn' is for compiling with Wnn-4.2,
-the Free version of WNN. `--with-wnn6' is for compiling against WNN6,
-the commercial version of WNN available from OMRON Corporation. This is
-stable code and fairly well tested. In order to build with this
-option, you will need to have the `egg-its' lisp package already
-installed.
+multi-language input method. `--with-wnn' is for compiling with Wnn-4.2, the
+Free version of WNN. `--with-wnn6' is for compiling against WNN6, the
+commercial version of WNN available from OMRON Corporation. This is stable
+code and fairly well tested. In order to build with this option, you will
+need to have the `egg-its' lisp package already installed. (Default: no.)
+
+The `--with-xim' option enables use of the X11 XIM mechanism to allow an
+input method to input text into XEmacs. The input method is shared among all
+the X applications sharing an X display and using the same language. The XIM
+support comes in two flavors: `motif' and `xlib'. The Motif support (the
+XmIm* functions) is preferred when available. The XIM support defaults to
+`no' except when Motif is detected where it is stable with OSF libraries.
+The XIM support in Lesstif (a Free Motif replacement) does not work as of
+v0.82. If you enable this option, you will probably wish to install the
+`locale' package which contains localized Splash screens and Menubars.
+
+(This option is deprecated and will be removed.) The `--with-xfs' option
+enables use of a multilingual Menubar. At the present time, only Japanese
+and French locales are supported. In order to use a multilingual Menubar you
+must have the `locale' package installed. The `locale' package does not have
+to be installed when building XEmacs. (Default: no.)
Please note that it is safe to build with as many of the options
`--with-xim', `--with-canna' and `--with-wnn' as your system
supports.
-Options for Developers and Special Requirements
------------------------------------------------
+Configuring the Window System
+-----------------------------
-The `--with-rel-alloc' option can be used to either enable or disable
-use of the relocating allocator. Turning on --with-rel-alloc will allow
-XEmacs to return unused memory to the operating system, thereby reducing
-its memory footprint. However, it may make XEmacs runs more slowly,
-especially if your system's `mmap' implementation is missing or
-inefficient. Generally, it's best to go with the default configuration
-for your system. You can tweak this based on how you use XEmacs, and
-the memory and cpu resources available on your system.
+If you prefer the GTK+ look and feel to Xt, specify `--with-gtk'. You can
+also enable support for some GNOME desktop features with `--with-gnome'. You
+cannot use both GTK+ and Xt at the same time.
-The `--with-system-malloc' option can be used to either enable or
-disable use of the system malloc. Generally, it's best to go with the
-default configuration for your system. Note that on many systems
-using the system malloc disables the use of the relocating allocator.
+If you don't want X Window System support at all, specify `--without-x'. If
+you omit this option, `configure' will try to autodetect whether your system
+has X Window System support, and arrange to use it if present.
-The `--with-debug-malloc' option can be used to link a special
-debugging version of malloc. Debug Malloc is not included with XEmacs
-and is intended for use only by the developers. It may be obtained
-from <URL:http://www.letters.com/dmalloc/>.
+On Cygwin, you can configure support for the "native" MS Windows GUI with
+`--with-msw'. XEmacs supports both `--with-msw' and `--with-x' at the same
+time.
-The `--with-debug' and `--with-error-checking' options are primarily
-useful to the developers. `--with-debug' incorporates code for
-performing various tests, but does not impose a speed penalty.
-`--with-error-checking' adds additional tests to many of the commonly
-used macros, and imposes a speed penalty. Using either or both of these
-options can make bug reports more useful to the developers.
+The `--with-menubars=TYPE' option allows you to specify which X
+toolkit you wish to use for the menubar. The valid options are
+`lucid', `motif' and `no'. The default is `lucid' which is a
+Motif-lookalike menubar. We highly recommend its usage over the real
+Motif menubar. (In fact, the Motif menubar is currently broken.) If
+`no' is specified then support for menubars will not be compiled in.
-The `--verbose' option is useful only to the developers. It displays
-additional information, useful for debugging `configure'.
+The `--with-scrollbars=TYPE' option allows you to specify which X toolkit you
+wish to use for the scrollbars. The valid options are `lucid', `motif',
+`athena', and `no'. The default is `lucid' which is a Motif-lookalike
+scrollbar. If `no' is specified then support for scrollbars will not be
+compiled in.
-MAIL LOCKING
-============
+The `--with-dialogs=TYPE' option allows you to specify which X toolkit you
+wish to use for the dialog boxes. The valid options are `athena', `motif,
+and `no. The `lucid' option is accepted and will result in the `athena'
+toolkit being used. If the Motif toolkit can be found the default is
+`motif'. Otherwise, the default is `athena'. If `no' is specified then
+support for dialog boxes will not be compiled in.
-For most platforms, configure or the src/s file have the preferred
-method for locking mail spool files preconfigured. Otherwise you must
-find out for yourself. Do not choose a locking protocol "on the
-objective merits." XEmacs must use the same method as other mail
-utilities on your system, or you WILL lose mail.
+The `--with-toolbars' option allows you to enable or disable toolbar
+support. The default is `yes' if support for a windowing system is
+included.
-Presently, XEmacs supports lockf, flock, and dot locking. Specify the
-locking method via the --with-mail-locking=METHOD option to configure.
-Valid values for METHOD are --with-mail-locking are `lockf', `flock',
-and `dot'.
+The `--with-dragndrop' option compiles in the generic drag and drop API.
+This is automatically added if one of the drag and drop protocols is found
+(currently CDE, MSWindows, and GTK). *WARNING* The Drag'n'drop support is
+under development and is considered experimental.
+
+Miscellaneous Features
+----------------------
+
+The `--with-xpm' option specifies that XEmacs should support X11
+Pixmaps. (Default: auto.)
+
+The `--with-xface' option specifies that XEmacs should support
+X-Faces. (Default: auto.)
+
+The `--with-database' option specifies that XEmacs should be built with
+simple database support. The valid options are `no' or a comma-separated
+list of one or more of `dbm', `gnudbm' or `berkdb'. (Default: auto.)
+
+The `--with-postgresql' option specifies that XEmacs should be built with
+PostgreSQL support, linking with libpq. (Default: auto.) NOTE TO OEMS: If
+modules are enabled, the libpq API support will be build as a module.
+
+The `--with-ldap' option specifies that XEmacs should be build with LDAP
+support, using the OpenLDAP libraries. (Default: auto.) NOTE TO OEMS: If
+modules are enabled, the OpenLDAP API support will be build as a module.
+
+The `--with-socks' option specifies that XEmacs should be built with
+SOCKS support. This requires the libsocks library. (Default: no.)
+
+The `--with-sound=TYPE' option specifies that XEmacs should be built with
+sound support. Native (`--with-sound=native') sound support is currently
+available only on Sun SparcStations, SGI's, HP9000s, and systems (such as
+Linux) with soundcard.h. Network Audio Support (NAS) (`--with-sound=nas') is
+an extension to X that you may or may not have for your system. For NAS, you
+will probably need to provide the paths to the nas include and library
+directories to configure. ESD ("Enlightened Sound Daemon")
+(`--with-sound=esd') is a third-party library which interacts with a special
+sound daemon. If `--with-sound' is not specified, `configure' will attempt
+to determine if your configuration supports native sound and define
+--with-sound for you. If your native sound library is not in a standard
+location you can specify it with the `--with-native-sound-lib=LIB' flag. For
+Linux, `/dev/audio' is required for SunAudio files and `/dev/dsp' is required
+for raw data and WAVE format files. You may specify as many sound types as
+your system supports, separated by commas: `--with-sound=nas,native'.
+(Default: auto.)
+
+The `--with-tty' option enables TTY support. (Default: yes.)
+
+The `--with-ncurses' options specifies use of the ncurses library for tty
+support. (Default: auto.)
+
+The `--with-gpm' option compiles in GPM mouse support for ttys. (Default:
+no.)
+
+The `--with-external-widget' option specifies that XEmacs should be
+built with support for being used as a widget by other X11 applications.
+This functionality should be considered beta. (Default: no.)
+
+The `--with-tooltalk' option specifies that XEmacs should be built
+with ToolTalk support for interconnecting with other applications.
+ToolTalk is not yet supported on all architectures. If you use this
+option, you should have the tooltalk package (see etc/PACKAGES)
+installed prior to building XEmacs. (Default: no.)
+
+The `--with-sparcworks' option specifies that XEmacs should be built
+with support for Sun Sparcworks 3.0.1 and up (including Sun WorkShop).
+This functionality is only of use on SunOS 4.1.x and Solaris 2.x
+systems. If you use this option, you should have the Sun package (see
+etc/PACKAGES) installed prior to building XEmacs. (Default: no.)
+
+The `--with-cde' option allows you to enable or disable CDE drag and
+drop support. `configure' will attempt to detect this option and
+define `--with-cde' for you. (Default: no.)
RUNNING CONFIGURE
=================
-`configure' doesn't do any compilation or installation itself. It
-just creates the files that influence those things: `./src/config.h',
-and all the Makefiles in the build tree.
+`configure' doesn't do any compilation or installation itself. It just
+creates the files that influence those things: `./src/config.h', and all the
+Makefiles in the build tree.
-When it is done, `configure' prints a description of what it did and
-creates a shell script `config.status' which, when run, recreates the
-same configuration. If `configure' exits with an error after
-disturbing the status quo, it removes `config.status'. If `configure'
-doesn't work as expected, the file `config.log' contains details of
-the tests run and their results.
+XEmacs supports the implicit --srcdir option to allow building outside of the
+source tree. This is recommended; it only requires adding a single build
+directory, cd'ing there, and invoking configure:
-AUXILIARY PATHS
-===============
+ mkdir +build
+ cd +build
+ ../configure [--OPTION[=VALUE]] ...
-Look at `./lisp/paths.el'; if some of those values are not right for
-your system, set up the file `./lisp/site-init.el' with XEmacs Lisp
-code to override them; it is not a good idea to edit paths.el itself.
-YOU MUST USE THE LISP FUNCTION `setq' TO ASSIGN VALUES, rather than
-`defvar', as used by `./lisp/paths.el'. For example,
+If you want to build in the source tree for some reason, cd to the top level
+directory of the XEmacs distribution, and run the program `configure' as
+follows:
- (setq news-inews-program "/usr/bin/inews")
+ ./configure [--OPTION[=VALUE]] ...
-is how you would override the default value of the variable
-news-inews-program (which is "/usr/local/inews").
-
-Before you override a variable this way, *look at the value* that the
-variable gets by default! Make sure you know what kind of value the
-variable should have. If you don't pay attention to what you are
-doing, you'll make a mistake.
-
-Things may malfunction if the variable `directory-abbrev-alist' is not
-set up to translate "temporary" automounter mount points into the
-canonical form. XEmacs tries to detect how your automounter is
-configured. If you have an unusual automounter configuration that
-XEmacs cannot detect, you may need to change the value of
-`directory-abbrev-alist'.
-
-SITE-SPECIFIC STARTUP CODE
-==========================
-
-Put into `./lisp/site-init.el' or `./lisp/site-load.el' any Emacs Lisp
-code you want XEmacs to load before it is dumped out. Use
-site-load.el for additional libraries if you arrange for their
-documentation strings to be in the lib-src/DOC file (see
-src/Makefile.in.in if you wish to figure out how to do that). For all
-else, use site-init.el.
-
-Note that, on some systems, the code you place in site-init.el must
-not use expand-file-name or any other function which may look
-something up in the system's password and user information database.
-See `./PROBLEMS' for more details on which systems this affects.
-
-The `site-*.el' files are nonexistent in the distribution. You do not
-need to create them if you have nothing to put in them.
-
-TERMCAP CONFIGURATION
-=====================
-
-Refer to the file `./etc/TERMS' for information on fields you may
-wish to add to various termcap entries. The files `./etc/termcap.ucb'
-and `./etc/termcap.dat' may already contain appropriately-modified
-entries.
+When it is done, `configure' prints a description of what it did and creates
+a shell script `config.status' which, when run, recreates the same
+configuration. If `configure' exits with an error after disturbing the
+status quo, it removes `config.status'. If `configure' doesn't work as
+expected, the file `config.log' contains details of the tests run and their
+results.
RUNNING MAKE
============
-Run `make' in the top directory of the XEmacs distribution to finish
-building XEmacs in the standard way. The final executable file is
-named `src/xemacs'. You can execute this file in place without
-copying it, if you wish; then it automatically uses the sibling
-directories ../lisp, ../lib-src, ../info.
+`configure' also creates an `Installation' file in the top directory of the
+build tree. Do read this file before running `make'! It's not very long.
+You can save much grief by checking that expected features are listed there.
-Or you can install the executable and the other XEmacs into their
-permanent locations, with `make install'. By default, XEmacs's files
-are installed in the following directories:
+Run `make' in the top directory of the XEmacs distribution to finish building
+XEmacs in the standard way. The final executable file is named `src/xemacs'.
+You can execute this file in place without copying it, if you wish; then it
+automatically uses the sibling directories ../lisp, ../lib-src, ../info.
+
+Or you can install the executable and the other XEmacs into their permanent
+locations, with `make install'. By default, XEmacs's files are installed in
+the following directories:
`/usr/local/bin' holds the executable programs users normally run -
`xemacs', `etags', `ctags', `b2m', `emacsclient', `ellcc',
`gnuclient', `gnudoit', and `gnuattach'.
-`/usr/local/share/xemacs-VERSION/lisp' holds the Emacs Lisp libraries;
+`/usr/local/share/xemacs-VERSION/lisp' holds the basic Emacs Lisp libraries
+ (including core implementations of many Lisp primitives);
`VERSION' stands for the number of the XEmacs version
- you are installing, like `18.59' or `19.14'. Since
+ you are installing, like `19.14' or `21.5.31'. Since
the lisp libraries change from one version of XEmacs to
another, including the version number in the path
allows you to have several versions of XEmacs installed
at the same time; this means that you don't have to
make XEmacs unavailable while installing a new version.
- XEmacs searches for its lisp files in these
- directories, and then in
- `/usr/local/share/xemacs/site-lisp/*'.
+`/usr/local/share/xemacs/xemacs-packages'
+`/usr/local/share/xemacs/mule-packages'
+`/usr/local/share/xemacs/site-packages'
+ XEmacs searches for "packaged" Emacs Lisp applications or
+ extensions and their support files in these hierarchies.
+ Each hierarchy has its own set of lisp, etc, info, lib-src,
+ and pkginfo subdirectories. The pkginfo subdirectory
+ contains "MANIFEST" files used when installing or removing
+ packages. Each of the others has the same purpose as the
+ similarly-named directory for "core XEmacs".
+
+`/usr/local/share/xemacs/site-lisp'
+ A last-resort location for Lisp files (optional).
`/usr/local/share/xemacs-VERSION/etc' holds the XEmacs tutorial, the
Unicode database, and other architecture-independent
@@ -626,22 +463,297 @@
`/usr/local/man/man1' holds the man pages for the programs installed
in `/usr/local/bin'.
-If these directories are not what you want, you can specify where to
-install XEmacs's libraries and data files or where XEmacs should search
-for its lisp files by giving values for `make' variables as part of
-the command.
+If you have specified the `--prefix' option, it will replace "/usr/local"
+in the locations above.
-You can change where the build process installs XEmacs and its data
-files by specifying values for `make' variables as part of the `make'
-command line. For example, if you type
+STRIPPING BINARIES
+==================
+
+This saves nothing but a small (by modern standards) amount of disk space;
+the symbol table is not loaded into memory at execution time. If you do
+encounter a crash or other serious bug, the first thing the developers will
+do is ask you to build an XEmacs with a full symbol table, anyway. Don't
+strip the XEmacs binary.
+
+MAIL-LOCKING POST-INSTALLATION
+==============================
+
+If your system uses dot-locking to interlock access to mailer inbox files,
+then you might need to make the movemail program setuid or setgid to enable
+it to write the lock files. We believe this is not a security hole. The
+setuid/setgid bits need not be set on any other XEmacs-related executables.
+
+CLEANING UP
+==========
+
+You are done with the hard part! You can remove executables and object files
+from the build directory by typing `make clean'. To also remove the files
+that `configure' created (so you can compile XEmacs for a different
+configuration), type `make distclean'.
+
+READ THE FAQ
+============
+
+Do it!
+
+PROBLEMS
+========
+
+The most common problem is that you forgot to read and follow the directions
+for installing bootstrap packages in the FAQ. You can not have a normal
+XEmacs without downloading some additional packages.
+
+See the file PROBLEMS in this directory for a list of various problems
+sometimes encountered, and what to do about them. PROBLEMS is also the place
+where platform-specific build notes can be found.
+
+ADVANCED CONFIGURATION
+======================
+
+There are a large number of options to configure that can be used to control
+the build and installation process. These are primarily of interest to
+developers and OEMs.
+
+Controlling the Host Type
+-------------------------
+
+Almost always, you should let `configure' (actually the shell script
+`config.guess') guess your host type, by omitting the CONFIGURATION-NAME
+argument. If you like to experiment, specify a configuration name in the
+form MACHINE-VENDOR-OPSYS, for example:
+
+sparc-sun-solaris2.6
+
+using the command form
+
+ ./configure [CONFIGURATION-NAME] [--OPTION[=VALUE]] ...
+
+See config.guess and configure.ac for valid values for MACHINE, VENDOR, and
+OPSYS. Also check `./etc/MACHINES' for advice on building on particular
+machines.
+
+Specifying Location of Headers and Libraries
+--------------------------------------------
+
+The `--with-site-includes=DIR' and `--with-site-libraries=DIR' options allow
+you to specify additional places the compiler should look for include files
+and object libraries. You may specify multiple DIR's by enclosing the list
+in quotes. All the external libraries you want to use with XEmacs (e.g. xpm,
+wnn, ...) described later should have their include and library directories
+defined using these options.
+
+The `--with-site-runtime-libraries=DIR' option specifies directories to
+search for shared libraries at run time. If you use this option, you must
+specify ALL of the directories containing shared libraries at run time,
+including system directories. Please read the information about "ADD-ON
+LIBRARIES" above very carefully.
+
+The `--x-includes=DIR' and `--x-libraries=DIR' options tell the build process
+where the compiler should look for the include files and object libraries
+used with the X Window System. Normally, `configure' is able to find them;
+these options are necessary if you have your X Window System files installed
+in unusual places.
+
+Configuring the Build Process
+-----------------------------
+
+The `--with-gcc=PROGRAM' option specifies that the build process should
+compile XEmacs using GCC. The `--with-compiler' option allows you to specify
+some other compiler to be used to compile XEmacs. If neither option is
+specified, the environment variable CC is used instead. Otherwise the
+compiler will then default to 'cc'.
+
+The `--with-xemacs-compiler=PROGRAM' option specifies the compiler control
+program for the xemacs binary only. Other C code will be compiled according
+to the `--with-gcc' and `--with-compiler' options above. This is useful if
+you wish to compile XEmacs with a C++ compiler, because the utilities in
+./lib-src cannot be compiled as C++. This option is primarily intended for
+use by the maintainers.
+
+The `--with-cflags=FLAGS' option specifies all of the CFLAGS the build
+process should use when compiling XEmacs, except for flags controlling
+warning generation. Otherwise the value of the environment variable CFLAGS
+is consulted. If that is also undefined, CFLAGS defaults to "-g -O" for gcc
+and "-g" for all other compilers.
+
+The `--with-cflags-warning=FLAGS' option specifies the warnings to be
+generated. There is normally no reason to use this flag, as XEmacs turns on
+as many warnings as possible, and is still intended to build with no
+warnings. If you get any undocumented warnings, please report them as
+bugs---they very often are, or at least indicate possible bitrot.
+
+The `--with-cflags-optimization=FLAGS' option specifies the optimizations to
+be used. There is normally no reason to use this flag, as XEmacs will
+already set the maximum safe optimization flags appropriate for the compiler
+being invoked.
+
+The `--with-cflags-debugging=FLAGS' option specifies debugging information to
+be generated. You should avoid using this flag, as it makes most severe or
+fatal bugs hard-to-impossible to diagnose and fix. Debugging information
+does not slow down XEmacs at runtime, and it doesn't make the binary very
+much bigger.
+
+The `--with-dynamic' option specifies that configure should try to link
+XEmacs dynamically rather than statically. `--with-static' specifies the
+reverse. XEmacs's configure script detects whether dynamic linking can be
+done on all platforms we know of; these options are normally unnecessary.
+
+The `--with-modules' option specifies that XEmacs be built with support for
+runtime loadable modules. NOTE TO OEMS: XEmacs can be distributed configured
+to support several options based on external APIs (currently LDAP,
+PostgreSQL, and Canna) as loadable modules. You can distribute an XEmacs
+binary package with these options enabled without depending on the external
+package. XEmacs will fail gracefully at runtime, issuing an error message
+indicating that the required support was not found on the system.
+
+You can build XEmacs for several different machine types from a single source
+directory. To do this, you must use a version of `make' that supports the
+`VPATH' variable, such as GNU `make'. Create separate build directories for
+the different configuration types, and in each one, run the XEmacs
+`configure' script. `configure' looks for the Emacs source code in the
+directory that `configure' is in. The `--srcdir' option may not work
+correctly (traditionally it was overridden by the directory containing
+`configure').
+
+Configuring the Installation Layout
+-----------------------------------
+
+The `--prefix=PREFIXDIR' option specifies where the installation process
+should put XEmacs and its data files. This defaults to `/usr/local'.
+- XEmacs (and the other utilities users run) go in PREFIXDIR/bin
+ (unless the `--exec-prefix' option says otherwise).
+- The architecture-independent files go in PREFIXDIR/share/xemacs-VERSION
+ (where VERSION is the version number of XEmacs, like `21.0').
+- The architecture-dependent files go in
+ PREFIXDIR/lib/xemacs-VERSION/CONFIGURATION-NAME
+ (where CONFIGURATION-NAME is the host type, like mips-dec-ultrix4.2),
+ unless the `--exec-prefix' option says otherwise.
+
+The `--exec-prefix=EXECDIR' option allows you to specify a separate portion
+of the directory tree for installing architecture-specific files, like
+executables and utility programs. If specified,
+- XEmacs (and the other utilities users run) go in EXECDIR/bin, and
+- The architecture-dependent files go in
+ EXECDIR/lib/xemacs-VERSION/CONFIGURATION-NAME.
+EXECDIR/bin should be a directory that is normally in users' PATHs.
+
+If you specify --prefix (or any of the other installation directory options),
+they will get compiled into the xemacs executable so it will be able to find
+its various associated files. However, XEmacs has quite elaborate logic to
+find out the locations of these directories dynamically. Sometimes, it is
+desirable *not* to compile these directories into the executable so you can
+move the XEmacs installation around (as whole) at will. This is true for
+binary kits, for instance. Therefore, you can specify --without-prefix on
+the configure command line to prevent the installation prefix to become part
+of the generated executable; everything else will continue to work as usual.
+
+Unlike previous versions of XEmacs (21.4 or earlier),
+architecture-independent files (in particular, the Lisp files and
+package hierarchies) by default get installed under `/usr/local/share'
+rather than `/usr/local/lib'. To create a setup as in previous
+versions, use the `--datadir=/usr/local/lib' option to configure.
+
+Options for Developers and Special Requirements
+-----------------------------------------------
+
+The `--with-rel-alloc' option can be used to either enable or disable
+use of the relocating allocator. Turning on --with-rel-alloc will allow
+XEmacs to return unused memory to the operating system, thereby reducing
+its memory footprint. However, it may make XEmacs runs more slowly,
+especially if your system's `mmap' implementation is missing or
+inefficient. Generally, it's best to go with the default configuration
+for your system. You can tweak this based on how you use XEmacs, and
+the memory and cpu resources available on your system.
+
+The `--with-system-malloc' option can be used to either enable or
+disable use of the system malloc. Generally, it's best to go with the
+default configuration for your system. Note that on many systems
+using the system malloc disables the use of the relocating allocator.
+
+The `--with-debug-malloc' option can be used to link a special
+debugging version of malloc. Debug Malloc is not included with XEmacs
+and is intended for use only by the developers. It may be obtained
+from <URL:http://www.letters.com/dmalloc/>.
+
+The `--with-debug' and `--with-error-checking' options are primarily
+useful to the developers. `--with-debug' incorporates code for
+performing various tests, but does not impose a speed penalty.
+`--with-error-checking' adds additional tests to many of the commonly
+used macros, and imposes a speed penalty. Using either or both of these
+options can make bug reports more useful to the developers.
+
+The `--verbose' option is useful only to the developers. It displays
+additional information, useful for debugging `configure'.
+
+AUXILIARY PATHS
+===============
+
+After configuring, look at `./lisp/paths.el'; if some of those values are not
+right for your system, set up the file `./lisp/site-init.el' with XEmacs Lisp
+code to override them; it is not a good idea to edit paths.el itself. YOU
+MUST USE THE LISP FUNCTION `setq' TO ASSIGN VALUES, rather than `defvar', as
+used by `./lisp/paths.el'. For example,
+
+ (setq news-inews-program "/usr/bin/inews")
+
+is how you would override the default value of the variable
+news-inews-program (which is "/usr/local/inews").
+
+Before you override a variable this way, *look at the value* that the
+variable gets by default! Make sure you know what kind of value the variable
+should have. If you don't pay attention to what you are doing, you'll make a
+mistake.
+
+Things may malfunction if the variable `directory-abbrev-alist' is not set up
+to translate "temporary" automounter mount points into the canonical form.
+XEmacs tries to detect how your automounter is configured. If you have an
+unusual automounter configuration that XEmacs cannot detect, you may need to
+change the value of `directory-abbrev-alist'.
+
+SITE-SPECIFIC STARTUP CODE
+==========================
+
+Put into `./lisp/site-init.el' or `./lisp/site-load.el' any Emacs Lisp code
+you want XEmacs to load before it is dumped out. Use site-load.el for
+additional libraries if you arrange for their documentation strings to be in
+the lib-src/DOC file (see src/Makefile.in.in if you wish to figure out how to
+do that). For all else, use site-init.el.
+
+Note that, on some systems, the code you place in site-init.el must not use
+expand-file-name or any other function which may look something up in the
+system's password and user information database. See `./PROBLEMS' for more
+details on which systems this affects.
+
+The `site-*.el' files are nonexistent in the distribution. You do not need
+to create them if you have nothing to put in them.
+
+TERMCAP CONFIGURATION
+=====================
+
+Refer to the file `./etc/TERMS' for information on fields you may wish to add
+to various termcap entries. The files `./etc/termcap.ucb' and
+`./etc/termcap.dat' may already contain appropriately-modified entries.
+
+ADVANCED MAKE
+=============
+
+If the default installation directories are not what you want, you can
+specify where to install XEmacs's libraries and data files or where XEmacs
+should search for its lisp files by giving values for `make' variables as
+part of the command.
+
+You can change where the build process installs XEmacs and its data files by
+specifying values for `make' variables as part of the `make' command line.
+For example, if you type
make install bindir=/usr/local/gnubin
-the `bindir=/usr/local/gnubin' argument indicates that the XEmacs
-executable files should go in `/usr/local/gnubin', not
-`/usr/local/bin'.
+the `bindir=/usr/local/gnubin' argument indicates that the XEmacs executable
+files should go in `/usr/local/gnubin', not `/usr/local/bin'.
-Here is a complete list of the variables you may want to set.
+Note that this is not tested or recommended, and specifying installation
+locations here rather than via `configure' may not work as expected. Here
+is a complete list of the variables you may want to set.
`bindir' indicates where to put executable programs that users can
run. This defaults to /usr/local/bin.
@@ -718,8 +830,8 @@
determines the default values for the architecture-dependent
path variables - `bindir' and `libdir'.
-The above variables serve analogous purposes in the makefiles for all
-GNU software; here are some variables specific to XEmacs.
+The above variables serve analogous purposes in the makefiles for all GNU
+software; here are some variables specific to XEmacs.
`lispdir' indicates where XEmacs installs and expects its lisp
libraries. Its default value, based on `datadir' (see above),
@@ -760,69 +872,39 @@
dependent, and care should be taken not to set this directory
to a system- or architecture-independent directory.
-Remember that you must specify any variable values you need each time
-you run `make' in the top directory. If you run `make' once to build
-xemacs, test it, and then run `make' again to install the files, you
-must provide the same variable settings each time. To make the
-settings persist, you can edit them into the `Makefile' in the top
-directory, but be aware that running the `configure' program erases
-`Makefile' and rebuilds it from `Makefile.in'.
+Remember that you must specify any variable values you need each time you run
+`make' in the top directory. If you run `make' once to build xemacs, test
+it, and then run `make' again to install the files, you must provide the same
+variable settings each time. To make the settings persist, you can edit them
+into the `Makefile' in the top directory, but be aware that running the
+`configure' program erases `Makefile' and rebuilds it from `Makefile.in'.
-The top-level Makefile stores the variable settings it used in the
-Makefiles for the subdirectories, so you don't have to specify them
-when running make in the subdirectories.
+The top-level Makefile stores the variable settings it used in the Makefiles
+for the subdirectories, so you don't have to specify them when running make
+in the subdirectories.
-Using GNU Make allows for simultaneous builds with and without the
---srcdir option.
+Using GNU Make allows for simultaneous builds with and without the --srcdir
+option.
-STRIPPING BINARIES
-==================
-
-This saves nothing but a small (by modern standards) amount of disk
-space; the symbol table is not loaded into memory at execution time.
-If you do encounter a crash or other serious bug, the first thing the
-developers will do is ask you to build an XEmacs with a full symbol
-table, anyway. Don't strip the XEmacs binary.
-
-MAIL-LOCKING POST-INSTALLATION
-==============================
-
-If your system uses dot-locking to interlock access to mailer inbox
-files, then you might need to make the movemail program setuid or
-setgid to enable it to write the lock files. We believe this is safe.
-The setuid/setgid bits need not be set on any other XEmacs-related
-executables.
-
-CLEANING UP
-==========
-
-You are done with the hard part! You can remove executables and
-object files from the build directory by typing `make clean'. To also
-remove the files that `configure' created (so you can compile XEmacs
-for a different configuration), type `make distclean'.
-
-READ THE FAQ
+MAIL LOCKING
============
-Do it!
+For most platforms, configure or the src/s file have the preferred method for
+locking mail spool files preconfigured. Otherwise you must find out for
+yourself. Do not choose a locking protocol "on the objective merits."
+XEmacs must use the same method as other mail utilities on your system, or
+you WILL lose mail.
-PROBLEMS
-========
-
-The most common problem is that you forgot to read and follow the
-directions for installing bootstrap packages in the FAQ. You can not
-have a normal XEmacs without downloading some additional packages.
-
-See the file PROBLEMS in this directory for a list of various problems
-sometimes encountered, and what to do about them. PROBLEMS is also
-the place where platform-specific build notes can be found.
+Presently, XEmacs supports lockf, flock, and dot locking. Specify the
+locking method via the --with-mail-locking=METHOD option to configure. Valid
+values for METHOD are --with-mail-locking are `lockf', `flock', and `dot'.
APPENDIX: CORRESPONDENCE TO OLD CONFIGURE OPTIONS
=================================================
-Here is a full translation of command line arguments. Note that any
-option starting with "--with" may also be specified with "--enable".
-This list may not be up-to-date.
+Here is a full translation of command line arguments. Note that any option
+starting with "--with" may also be specified with "--enable". This list may
+not be up-to-date.
Old | New
------------------------------------------
@@ -1000,12 +1082,12 @@
--use-kkcc --with-kkcc
--with-modules Unchanged
-The output files produced by this new configure should be almost
-identical to those produced by the old. This can be tested with the
-provided regression test script. This script runs the two versions of
-configure with the supplied list of command line arguments and reports
-any differences. Please add your favorite configuration command lines
-to the list before running the test. The script is run as:
+The output files produced by this new configure should be almost identical to
+those produced by the old. This can be tested with the provided regression
+test script. This script runs the two versions of configure with the
+supplied list of command line arguments and reports any differences. Please
+add your favorite configuration command lines to the list before running the
+test. The script is run as:
$ tests/autoconf/regressiontest.pl /absolute/path/to/2.13/configure \
/absolute/path/to/2.59/configure >diffs.txt
@@ -1016,3 +1098,87 @@
form has been removed), and
- The removal of trailing comments in src/config.h.
+RANDOM NOTES
+============
+
+Definitions
+-----------
+
+A note on terminology: unfortunately the terms "library" and "package" are
+heavily overloaded. In the following, "library" refers to an external body
+of executable code which may be linked with XEmacs at build time to provide
+support for system features, such as images, audio, stream compression,
+databases, and input methods. A "Lisp library" is a file of Lisp code which
+may be loaded into XEmacs at run-time to provide editor features. A
+"package" is a specially prepared Lisp library or set of Lisp libraries,
+providing for easy installation, upgrade, and removal of applications written
+in Lisp.
+
+Package System
+--------------
+
+The FAQ sections 1.7 and 2.1 contain information vital to have a fully
+working XEmacs. It includes a description of available packages, and how to
+bootstrap XEmacs from a minimal or a complete set of packages. This
+information was not included in this file only because it is too large for
+this terse INSTALL. The FAQ is available in Texinfo format in
+man/xemacs-faq.texi, as an Info file once you build XEmacs, and online at
+http://www.xemacs.org/Documentation/21.5/html/xemacs-faq_1.html.
+
+Other
+-----
+
+On some systems, X11, Motif and CDE are optional additions. On MacOS/X
+systems prior to 10.2, you may download X11R6 for Mac OS X from
+http://www.apple.com/macosx/x11/download/. In later releases X11 is
+available as an optional package on the installation CDs. In either case you
+need both the runtime libraries and the SDK (in a sidebar of that page at the
+time of writing). There is also a 3rd-party implementation of X11R6 for the
+Mac at http://www.xdarwin.org/. On Solaris, the SUNWaudmo package enables
+native sound support.
+
+You can get (most of) them from the XEmacs FTP archive at
+<ftp://ftp.xemacs.org/pub/xemacs/aux>. Information about what
+each library does is available in the file
+<ftp://ftp.xemacs.org/pub/xemacs/aux/00README.txt>.
+
+(This note is probably obsolete.) Dynamic linking has pros and cons.
+Dynamically linking 3rd party libraries to XEmacs decreases the size of the
+binary, and means you don't need to rebuild XEmacs to take advantage of
+improvements in the libraries. On the other hand, XEmacs can fail subtly if
+the semantics of a library changes, other users may not be able to use your
+"private" copies of the libraries, and you may have to relink XEmacs, or even
+omit the feature, if the ABI changes when the libraries are upgraded.
+
+Use the `--with-site-includes' and `--with-site-libraries' options when
+building XEmacs to allow configure to find the external software packages.
+For your convenience these can be set together by using the
+`--with-site-prefixes' option. This will set these variables as needed
+assuming your libraries are organised as a typical /usr tree.
+
+If you link dynamically with external libraries, usually denoted by ".so"
+(Unix), ".dll" (Windows), or ".dylib" (MacOS) file extensions, on some
+systems you may also need to add the library directories to the
+`--with-site-runtime-libraries' option. It is typically necessary only if
+you link with dynamic libraries that are installed in non-standard
+directories, or if you expect some of the libraries used to build XEmacs to
+be in a different directory at run time than at build time.
+
+NOTE: This option has unusual semantics. ONLY libraries found in the
+directories specified in this option will be used at runtime. This means you
+must specify ALL directories you want searched at runtime in this option
+(perhaps excluding a very small number of standard system library paths).
+
+Directories specified with `--with-site-libraries' are NOT automatically
+added. The rationale is that most users will not need this option, and this
+allows the builder to specify exactly the needed directories. Specifying
+unnecessary directories leads to obscure problems (typically startup delays)
+if those directories are mounted over a network, and the automounter
+configuration changes. Not all systems need this option; it's best to avoid
+using it if you can.
+
+If you haven't built XEmacs 21.5 recently, the change from the configure
+script based on Autoconf 2.13 can be a shock. Appendix: Correspondence to
+Old Configure Options (at the end of this document) contains a list of old
+options and their new equivalents.
+
Repository URL: https://bitbucket.org/xemacs/xemacs/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
[AC21.5] Improve INSTALL
12 years
Stephen J. Turnbull
APPROVE COMMIT 21.5
Thanks to Steven Mitchell for the suggestion and impetus.
# HG changeset patch
# Parent 0bd991c31cd13e40aea42f466bd3180c6743da14
Reorganize and update INSTALL.
diff -r 0bd991c31cd1 ChangeLog
--- a/ChangeLog Mon Dec 24 03:17:38 2012 +0900
+++ b/ChangeLog Mon Dec 24 04:16:31 2012 +0900
@@ -1,3 +1,8 @@
+2012-11-04 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * INSTALL: Reorganize and update.
+ Thanks to Steven Mitchell for the suggestion.
+
2012-08-04 Stephen J. Turnbull <stephen(a)xemacs.org>
* configure.ac (Package Search): New Installation section.
diff -r 0bd991c31cd1 INSTALL
--- a/INSTALL Mon Dec 24 03:17:38 2012 +0900
+++ b/INSTALL Mon Dec 24 04:16:31 2012 +0900
@@ -1,7 +1,7 @@
XEmacs Installation Guide
-Copyright (c) 1994, 1995, 1996 Board of Trustees, University of Illinois
-Copyright (c) 1994-1999, 2003, 2008 Free Software Foundation, Inc.
+Copyright (c) 1994-1996 Board of Trustees, University of Illinois
+Copyright (c) 1994-1999, 2003, 2008, 2012 Free Software Foundation, Inc.
Permission is granted to anyone to make or distribute verbatim copies
of this document as received, in any medium, provided that the
@@ -20,370 +20,171 @@
(for Microsoft Windows, see nt/README also.)
+This file is in the process of revision. Some random information that didn't
+fit elsewhere is appended to the end of the file.
+
PREREQUISITES
=============
-Make sure your system has enough swapping space allocated to handle a
-program whose pure code is 900k bytes and whose data area is at least
-400k and can reach 8Mb or more. Note that a typical XEmacs process
-can get much bigger: the instance this sentence was written with is
-over 100MB! If the swapping space is insufficient, you will get an
-error in the command `temacs -batch -l loadup dump', found in
-`./src/Makefile.in.in', or possibly when running the final dumped
-XEmacs.
+Modern systems generally have more than enough RAM and virtual memory to run
+XEmacs well. If you run into an "insufficient memory" error when building
+or on the first execution, see the 'PROBLEMS' file. In sufficient stack
+space is a separate problem, also address in 'PROBLEMS'.
-Verify that your users have a high enough stack limit. On some systems
-such as OpenBSD and OSF/Tru64 the default is 2MB which is too low. On
-MacOS/X (Darwin) before 10.3, it's 512kB. See 'PROBLEMS' for details.
-
-Building XEmacs requires about 100 Mb of disk space (including the
-XEmacs sources). Once installed, XEmacs occupies between 20 and 100
-MB in the file system where it is installed; this includes the
-executable files, Lisp libraries, miscellaneous data files, and
-on-line documentation. The exact amount depends greatly on the number
-of extra Lisp packages that are installed.
+Building XEmacs requires about 100 Mb of disk space (including the XEmacs
+sources). Once installed, XEmacs occupies about 200 MB in the file system
+where it is installed, including the executable files, Lisp libraries,
+miscellaneous data files, and on-line documentation.
XEmacs requires an ANSI C compiler, such as GCC. If you wish to build the
documentation yourself, you will need at least version 1.68 of makeinfo (GNU
-texinfo-3.11). GNU Texinfo 4.2 is recommended; it is necessary for building
-Lisp packages, and we may move to it for the core.
+texinfo-3.11). GNU Texinfo 4.2 is strongly recommended; it is necessary for
+building Lisp packages, and we may move to it for the core.
-A note on terminology: unfortunately the terms "library" and "package"
-are heavily overloaded. In the following, "library" refers to an
-external body of executable code which may be linked with XEmacs at
-build time to provide support for system features, such as images,
-audio, stream compression, databases, and input methods. A "Lisp
-library" is a file of Lisp code which may be loaded into XEmacs at
-run-time to provide editor features. A "package" is a specially
-prepared Lisp library or set of Lisp libraries, providing for easy
-installation, upgrade, and removal of applications written in Lisp.
+BASIC INSTALLATION
+==================
-PACKAGE SYSTEM
-==============
+Since you are reading this, we assume you have already acquired XEmacs in
+source form, and the packages as tarballs. If not, see www.xemacs.org.
-The FAQ sections 1.7 and 2.1 contain information vital to have a fully
-working XEmacs. It includes a description of available packages, and
-how to bootstrap XEmacs from a minimal or a complete set of packages.
-This information was not included in this file only because it is too
-large for this terse INSTALL. The FAQ is available in Texinfo format
-in man/xemacs-faq.texi, as an Info file once you build XEmacs, and
-online at http://www.xemacs.org/Documentation/21.5/html/xemacs-faq_1.html.
+Building and installing XEmacs from source can be as simple as
-ADD-ON LIBRARIES
-================
+ cd /usr/local/src/xemacs; ./configure; make; make install
-Decide which libraries you would like to use with XEmacs, but are not
-yet available on your system. On some systems, X11, Motif and CDE are
-optional additions. On MacOS/X systems prior to 10.2, you may download
-X11R6 for Mac OS X from http://www.apple.com/macosx/x11/download/. In
-later releases X11 is available as an optional package on the
-installation CDs. In either case you need both the runtime libraries
-and the SDK (in a sidebar of that page at the time of writing). There
-is also a 3rd-party implementation of X11R6 for the Mac at
-http://www.xdarwin.org/. On Solaris, the SUNWaudmo package enables
-native sound support. There are also a number of free software
-applications that XEmacs can use. If these are not yet available on
-your system, obtain, build and install those external libraries before
-building XEmacs. The libraries XEmacs can use are:
+followed by installing the packages
- Xaw3d, XPM, JPEG, compface, PNG, zlib, GNU DBM, Berkeley DB, socks,
- term, NAS, Canna, Kinput2, SJ3, Wnn, PostgreSQL, LDAP.
+ mkdir -p /usr/local/share/xemacs
+ cd /usr/local/share/xemacs
+ tar xzf /tmp/xemacs-sumo.tar.gz
-You can get (most of) them from the XEmacs FTP archive at
-<ftp://ftp.xemacs.org/pub/xemacs/aux>. Information about what
-each library does is available in the file
-<ftp://ftp.xemacs.org/pub/xemacs/aux/00README.txt>.
+However, this depends on the presence of relevant development resources on
+your system, and there are a few frequently used features that are not built
+in by default. To build XEmacs incorporating such features, the steps
+required are exactly as above, except that you need to start by confirming
+the availability of required libraries and headers, and select them by
+invoking configure with the appropriate options.
-Use the `--with-site-includes' and `--with-site-libraries' options when
-building XEmacs to allow configure to find the external software
-packages. For your convenience these can be set together by using the
-`--with-site-prefixes' option. This will set these variables as needed
-assuming your libraries are organised as a typical /usr tree.
+Add-on Libraries
+----------------
-If you link dynamically with external libraries, usually denoted by
-".so" (Unix), ".dll" (Windows), or ".dylib" (MacOS) file extensions, on
-some systems you may also need to add the library directories to the
-`--with-site-runtime-libraries' option. It is typically necessary only
-if you link with dynamic libraries that are installed in non-standard
-directories, or if you expect some of the libraries used to build XEmacs
-to be in a different directory at run time than at build time.
+A note on terminology: unfortunately the terms "library" and "package" are
+heavily overloaded. In this section, "library" refers to an external body of
+executable code which may be linked with XEmacs at build time to provide
+support for system features, such as images, audio, stream compression,
+databases, and input methods. Libraries must be available when XEmacs is
+built. A "module" is also a dynamically loadable library, but it is built
+from the XEmacs sources, after the XEmacs executable is built.
-NOTE: This option has unusual semantics. ONLY libraries found in the
-directories specified in this option will be used at runtime. This
-means you must specify ALL directories you want searched at runtime in
-this option (perhaps excluding a very small number of standard system
-library paths).
+We assume that your system has a GUI windowing system, specifically X11 (the
+X Window System) or Microsoft Windows. XEmacs can also use various toolkits
+and widget kits for X11, including Xt, GTK+/GNOME, and CDE, depending on
+platform. If you don't have a window system installed, XEmacs will be built
+only with terminal support. (For unreleased ports to Qt/KDE and Mac OS X,
+ask on the xemacs-beta(a)xemacs.org mailing list.)
-Directories specified with `--with-site-libraries' are NOT automatically
-added. The rationale is that most users will not need this option, and
-this allows the builder to specify exactly the needed directories.
-Specifying unnecessary directories leads to obscure problems (typically
-startup delays) if those directories are mounted over a network, and the
-automounter configuration changes. Not all systems need this option;
-it's best to avoid using it if you can.
+XEmacs can use a large number of additional libraries that are commonly
+available in many operating system distributions. Many are also available as
+open source distributions. These include:
-Dynamic linking has pros and cons. Dynamically linking 3rd party
-libraries to XEmacs decreases the size of the binary, and means you
-don't need to rebuild XEmacs to take advantage of improvements in the
-libraries. On the other hand, XEmacs can fail subtly if the semantics
-of a library changes, other users may not be able to use your
-"private" copies of the libraries, and you may have to relink XEmacs,
-or even omit the feature, if the ABI changes when the libraries are
-upgraded.
+ GTK+, GNOME:
+ An alternative to the Xt toolkit on X11-based window systems. GNOME
+ is the desktop environment usually used with GTK+.
+ Xaw3d, XawNeXT, XawXPM, Xaw95:
+ Variants on the basic Athena widgets, which change the "look and feel"
+ of XEmacs built using the Xt toolkit.
+ Motif, CDE, Tooltalk:
+ Mostly useful on Solaris systems (CDE and Tooltalk may be obsolete).
+ Motif may be substituted for the Athena widgets on most systems
+ supporting X11.
+ XPM, JPEG, TIFF, PNG, compface:
+ Image format libraries. XPM and PNG are almost essential (they are
+ used to display parts of the XEmacs GUI).
+ zlib:
+ Supports gzip compression and decompression.
+ socks:
+ An old system for passing firewalls (may be obsolete).
+ GMP, MP:
+ Multiple precision arithmetic libraries ("bignums") from GNU and BSD.
+ curses, ncurses, termcap:
+ Character-based terminal support.
+ ALSA, OSS, ESD, NAS:
+ Various systems for audio output.
+ Canna, SJ3, Wnn:
+ Input systems for Japanese. (XEmacs accesses these libraries directly
+ rather than through more modern protocols such ibus and IIIMF. XEmacs
+ can use XIM, but that is now considered obsolete.)
+ Databases:
+ GNU DBM, Berkeley DB, PostgreSQL, LDAP.
-CONFIGURATION OPTIONS
-=====================
+WARNING: In many distributions, you may have the necessary libraries
+installed, but not the "header files" which provide the APIs used by XEmacs
+to link to the libraries. Such distributions provide additional packages,
+usually given names ending in "-dev" or "-devel", to supply the header files.
-In the top level directory of the XEmacs distribution, run the
-program `configure' as follows:
+XEmacs looks only in the default system directories for header files and
+libraries. This will be sufficient unless you have built and installed
+libraries yourself, or you use an add-on package manager like MacPorts on Mac
+OS X. In this case you will need to supply the "--with-site-prefixes"
+option, setting it to the root of the installation of such packages. Eg, the
+most common setting is "--with-site-prefixes=/usr/local", which tells the
+build process to search for headers in "/usr/local/include" for libraries
+under "/usr/local/lib". (Use a colon to separate multiple directories.)
- ./configure [CONFIGURATION-NAME] [--OPTION[=VALUE]] ...
+If you need help installing additional libraries and header files, the best
+resource is the help channels for your OS distribution. If that doesn't
+help, or you think you have the right files installed but the built XEmacs
+doesn't seem to have all the corresponding features, check with the newsgroup
+'comp.emacs.xemacs' or the mailing list 'xemacs-beta(a)xemacs.org'.
-Options are generally of the form `--with-FEATURE' or
-`--enable-FEATURE' to use a feature or `--without-FEATURE' or
-`--disable-FEATURE' to not use a feature. Unlike the `configure'
-program used in other applications, either `--with-FEATURE' or
-`--enable-FEATURE' can be used to use the same feature.
+SELECTING configure OPTIONS
+===========================
-If you haven't built XEmacs 21.5 recently, the change from the
-configure script based on Autoconf 2.13 can be a shock. Appendix:
-Correspondence to Old Configure Options (at the end of this document)
-contains a list of old options and their new equivalents.
+Options are generally of the form `--with-FEATURE' to use a feature or
+`--without-FEATURE' to not use a feature. (Unlike the `configure' program
+used in other applications, either `--with-FEATURE' or `--enable-FEATURE' can
+be used to enable the same feature.)
-Controlling the Host Type
--------------------------
+To get a long list of options and usage for the `configure' script, use
+`./configure --help' (piped to less if you prefer that to scrolling your
+terminal).
-Almost always, you should let `configure' (actually the shell script
-`config.guess') guess your host type, by omitting the
-CONFIGURATION-NAME argument. If you like to experiment, specify a
-configuration name in the form MACHINE-VENDOR-OPSYS, for example:
+Each option's explanation says what its default is. For Boolean options, the
+default may be "yes", "no", or "auto". If the default is "no", the feature
+will not be included, and if any option that depends on it is enabled,
+configure will fail with a fatal error. If the default is "yes", the feature
+will be included, and configure will fail with a fatal error if any required
+headers or libraries cannot be found. If the default is "auto", the feature
+will be included if configure can find the needed headers and libraries.
-sparc-sun-solaris2.6
+Even if a feature's default is "auto", it is useful to explicitly request its
+configuration. If the necessary headers or libraries aren't found, configure
+will fail loudly instead of silently configuring an XEmacs without your
+favorite features.
-See config.guess and configure.in for valid values for MACHINE,
-VENDOR, and OPSYS. Also check `./etc/MACHINES' for advice on building
-on particular machines.
+Configuring the Installation Locations
+--------------------------------------
-Specifying Location of Headers and Libraries
---------------------------------------------
+Often the default location for the XEmacs installation ("/usr/local") is
+appropriate. If you prefer to put the installation somewhere else, use the
+`--prefix' option, such as `--prefix=/opt/local/xemacs'.
-The `--with-site-includes=DIR' and `--with-site-libraries=DIR' options
-allow you to specify additional places the compiler should look for
-include files and object libraries. You may specify multiple DIR's by
-enclosing the list in quotes. All the external libraries you want to
-use with XEmacs (e.g. xpm, wnn, ...) described later should have their
-include and library directories defined using these options.
+As of late 2011, XEmacs is transitioning from the traditional "$prefix/lib"
+location to the FHS-conforming location "$prefix/share" for packages. If you
+already have packages installed under, say, "/usr/local/lib" and would prefer
+not to move them, use `--with-system-packages=/usr/local/lib/xemacs'. (The
+value of this option should be the name of the directory containing the
+"xemacs-packages", "mule-packages", and/or "site-packages" hierarchies.)
-The `--with-site-runtime-libraries=DIR' option specifies directories to
-search for shared libraries at run time. If you use this option, you
-must specify ALL of the directories containing shared libraries at run
-time, including system directories. Please read the information about
-"ADD-ON LIBRARIES" above very carefully.
+The standard configuration of XEmacs builds in absolute paths for its various
+support files. It is possible to make the XEmacs installation relocatable by
+using the option `--without-prefix'. Then all paths are computed at runtime
+relative to the "bin" directory where the XEmacs executable is located.
-The `--x-includes=DIR' and `--x-libraries=DIR' options tell the build
-process where the compiler should look for the include files and
-object libraries used with the X Window System. Normally, `configure'
-is able to find them; these options are necessary if you have your X
-Window System files installed in unusual places.
-
-Configuring the Build Process
------------------------------
-
-The `--with-gcc=PROGRAM' option specifies that the build process should
-compile XEmacs using GCC. The `--with-compiler' option allows you to
-specify some other compiler to be used to compile XEmacs. If neither
-option is specified, the environment variable CC is used instead.
-Otherwise the compiler will then default to 'cc'.
-
-The `--with-xemacs-compiler=PROGRAM' option specifies the compiler
-control program for the xemacs binary only. Other C code will be
-compiled according to the `--with-gcc' and `--with-compiler' options
-above. This is useful if you wish to compile XEmacs with a C++
-compiler, because the utilities in ./lib-src cannot be compiled as C++.
-This option is primarily intended for use by the maintainers.
-
-The `--with-cflags=FLAGS' option specifies all of the CFLAGS the build
-process should use when compiling XEmacs, except for flags controlling
-warning generation. Otherwise the value of the environment variable
-CFLAGS is consulted. If that is also undefined, CFLAGS defaults to "-g
--O" for gcc and "-g" for all other compilers.
-
-The `--with-cflags-warning=FLAGS' option specifies the warnings to be
-generated. There is normally no reason to use this flag, as XEmacs
-turns on as many warnings as possible, and is still intended to build
-with no warnings. If you get any undocumented warnings, please report
-them as bugs---they very often are, or at least indicate possible
-bitrot.
-
-The `--with-cflags-optimization=FLAGS' option specifies the
-optimizations to be used. There is normally no reason to use this
-flag, as XEmacs will already set the maximum safe optimization flags
-appropriate for the compiler being invoked.
-
-The `--with-cflags-debugging=FLAGS' option specifies debugging
-information to be generated. You should avoid using this flag, as it
-makes most severe or fatal bugs hard-to-impossible to diagnose and
-fix. Debugging information does not slow down XEmacs at runtime, and
-it doesn't make the binary very much bigger.
-
-The `--with-dynamic' option specifies that configure should try to
-link XEmacs dynamically rather than statically. `--with-static'
-specifies the reverse. XEmacs's configure script detects whether
-dynamic linking can be done on all platforms we know of; these options
-are normally unnecessary.
-
-The `--with-modules' option specifies that XEmacs be built with
-support for runtime loadable modules. NOTE TO OEMS: XEmacs can be
-distributed configured to support several options based on external
-APIs (currently LDAP, PostgreSQL, and Canna) as loadable modules. You
-can distribute an XEmacs binary package with these options enabled
-without depending on the external package. XEmacs will fail
-gracefully at runtime, issuing an error message indicating that the
-required support was not found on the system.
-
-You can build XEmacs for several different machine types from a single
-source directory. To do this, you must use a version of `make' that
-supports the `VPATH' variable, such as GNU `make'. Create separate
-build directories for the different configuration types, and in each
-one, run the XEmacs `configure' script. `configure' looks for the
-Emacs source code in the directory that `configure' is in. The
-`--srcdir' option may not work correctly (traditionally it was
-overridden by the directory containing `configure').
-
-Configuring the Installation Layout
------------------------------------
-
-The `--prefix=PREFIXDIR' option specifies where the installation process
-should put XEmacs and its data files. This defaults to `/usr/local'.
-- XEmacs (and the other utilities users run) go in PREFIXDIR/bin
- (unless the `--exec-prefix' option says otherwise).
-- The architecture-independent files go in PREFIXDIR/share/xemacs-VERSION
- (where VERSION is the version number of XEmacs, like `21.0').
-- The architecture-dependent files go in
- PREFIXDIR/lib/xemacs-VERSION/CONFIGURATION-NAME
- (where CONFIGURATION-NAME is the host type, like mips-dec-ultrix4.2),
- unless the `--exec-prefix' option says otherwise.
-
-The `--exec-prefix=EXECDIR' option allows you to specify a separate
-portion of the directory tree for installing architecture-specific
-files, like executables and utility programs. If specified,
-- XEmacs (and the other utilities users run) go in EXECDIR/bin, and
-- The architecture-dependent files go in
- EXECDIR/lib/xemacs-VERSION/CONFIGURATION-NAME.
-EXECDIR/bin should be a directory that is normally in users' PATHs.
-
-If you specify --prefix (or any of the other installation directory
-options), they will get compiled into the xemacs executable so it will
-be able to find its various associated files. However, XEmacs has
-quite elaborate logic to find out the locations of these directories
-dynamically. Sometimes, it is desirable *not* to compile these
-directories into the executable so you can move the XEmacs
-installation around (as whole) at will. This is true for binary kits,
-for instance. Therefore, you can specify --without-prefix on the
-configure command line to prevent the installation prefix to become
-part of the generated executable; everything else will continue to
-work as usual.
-
-Unlike previous versions of XEmacs (21.4 or earlier),
-architecture-independent files (in particular, the Lisp files and
-package hierarchies) by default get installed under `/usr/local/share'
-rather than `/usr/local/lib'. To create a setup as in previous
-versions, use the `--datadir=/usr/local/lib' option to configure.
-
-Configuring Feature Support
----------------------------
-
-If you don't want X Window System support, specify `--without-x'. If
-you omit this option, `configure' will try to autodetect whether your
-system has X Window System support, and arrange to use it if present.
-
-The `--with-menubars=TYPE' option allows you to specify which X
-toolkit you wish to use for the menubar. The valid options are
-`lucid', `motif' and `no'. The default is `lucid' which is a
-Motif-lookalike menubar. We highly recommend its usage over the real
-Motif menubar. (In fact, the Motif menubar is currently broken.) If
-`no' is specified then support for menubars will not be compiled in.
-
-The `--with-scrollbars=TYPE' option allows you to specify which X
-toolkit you wish to use for the scrollbars. The valid options are
-`lucid', `motif', `athena', `athena3d', and `no'. The default is
-`lucid' which is a Motif-lookalike scrollbar. If `no' is specified then
-support for scrollbars will not be compiled in.
-
-The `--with-dialogs=TYPE' option allows you to specify which X toolkit
-you wish to use for the dialog boxes. The valid options are `athena',
-`athena3d', `motif, and `no. The `lucid' option is accepted and will
-result in the `athena' toolkit being used. If the Motif toolkit can be
-found the default is `motif'. Otherwise, the default is `athena'. If
-`no' is specified then support for dialog boxes will not be compiled in.
-
-The `--with-toolbars' option allows you to enable or disable toolbar
-support. The default is `yes' if support for a windowing system is
-included.
-
-The `--with-xpm' option specifies that XEmacs should support X11
-Pixmaps. `configure' will attempt to detect if you have the Xpm
-libraries and define `--with-xpm' for you.
-
-The `--with-xface' option specifies that XEmacs should support
-X-Faces. `configure' will attempt to detect if you have the compface
-library and define `--with-xface' for you.
-
-The `--with-database' option specifies that XEmacs should be built
-with simple database support. The valid options are `no' or a
-comma-separated list of one or more of `dbm', `gnudbm' or `berkdb'.
-`configure' will attempt to detect the necessary libraries and header
-files and define `--with-database' for you.
-
-The `--with-postgresql' option specifies that XEmacs should be built
-with PostgreSQL support, linking with libpq. `configure' will attempt
-to detect whether PostgreSQL support is available, and automatically
-define `--with-postgresql' for you. NOTE TO OEMS: If modules are
-supported and enabled, the libpq API support will be build as a
-module.
-
-The `--with-ldap' option specifies that XEmacs should be build with
-LDAP support, using the OpenLDAP libraries. `configure' will attempt
-to detect whether LDAP support is available, and automatically define
-`--with-ldap' for you. NOTE TO OEMS: If modules are supported and
-enabled, the OpenLDAP API support will be build as a module.
-
-The `--with-socks' option specifies that XEmacs should be built with
-SOCKS support. This requires the libsocks library.
-
-The `--with-external-widget' option specifies that XEmacs should be
-built with support for being used as a widget by other X11 applications.
-This functionality should be considered beta.
-
-The `--with-sound=TYPE' option specifies that XEmacs should be built
-with sound support. Native (`--with-sound=native') sound support is
-currently available only on Sun SparcStations, SGI's, HP9000s, and
-systems (such as Linux) with soundcard.h. Network Audio Support (NAS)
-(`--with-sound=nas') is an extension to X that you may or may not have
-for your system. For NAS, you will probably need to provide the paths
-to the nas include and library directories to configure. If
-`--with-sound' is not specified, `configure' will attempt to determine
-if your configuration supports native sound and define --with-sound
-for you. If your native sound library is not in a standard location you
-can specify it with the `--with-native-sound-lib=LIB' flag. For Linux,
-`/dev/audio' is required for SunAudio files and `/dev/dsp' is required
-for raw data and WAVE format files.
-
-The `--with-tooltalk' option specifies that XEmacs should be built
-with ToolTalk support for interconnecting with other applications.
-ToolTalk is not yet supported on all architectures. If you use this
-option, you should have the tooltalk package (see etc/PACKAGES)
-installed prior to building XEmacs.
-
-The `--with-sparcworks' option specifies that XEmacs should be built
-with support for Sun Sparcworks 3.0.1 and up (including Sun WorkShop).
-This functionality is only of use on SunOS 4.1.x and Solaris 2.x
-systems. If you use this option, you should have the Sun package (see
-etc/PACKAGES) installed prior to building XEmacs.
-
-The `--with-cde' option allows you to enable or disable CDE drag and
-drop support. `configure' will attempt to detect this option and
-define `--with-cde' for you.
+There are a plethora of additional options for controlling exactly where
+different parts of XEmacs are installed. We *strongly* recommend sticking
+with the standard layout, except as just described. If you want to
+experiment, these additional configure options are described in a later
+section.
Internationalization Options
----------------------------
@@ -396,195 +197,231 @@
Europeans. Enabling Mule support requires the mule-base package
installed prior to building XEmacs. The `--with-xim', --with-xfs',
`--with-canna', `--with-wnn' and `--with-wnn6' options require
-Mule support.
+Mule support. (Default: no.)
-The `--with-xim' option enables use of the X11 XIM mechanism to allow
-an input method to input text into XEmacs. The input method is shared
-among all the X applications sharing an X display and using the same
-language. The XIM support comes in two flavors: `motif' and `xlib'.
-The Motif support (the XmIm* functions) is preferred when available.
-The xlib XIM support works reasonably well so long as the X11 libraries
-are recent enough. It has been fairly well tested on Linux with glibc
-2.0.5 and 2.0.6 and Kinput2 as an XIM server. In this configuration
-X11 must be recompiled with X_LOCALE defined because glibc is lacking
-localization for Japanese. The XIM support defaults to `no' except
-when Motif is detected where it is stable with OSF libraries. The XIM
-support in Lesstif (a Free Motif replacement) does not work as of
-v0.82. If you enable this option, you will probably wish to install
-the `locale' package which contains localized Splash screens and
-Menubars.
-
-The `--with-xfs' option enables use of a multilingual Menubar. At the
-present time, only Japanese and French locales are supported. In
-order to use a multilingual Menubar you must have the `locale' package
-installed. The `locale' package does not have to be installed when
-building XEmacs.
-
-The `--with-canna' option enables the use of the Canna Japanese input
-method. This is stable code and fairly well tested. In order to use
-it, you will have to have the Canna server installed and running. Canna
-versions 3.2pl2, 3.5b2, and 3.7p3 are known to work. Version 3.2pl2 is
-considered more stable than version 3.5b2; the stability of 3.7p3 is
-still unknown. If Canna is already installed, configure will autodetect
-it, so you never need to explicitly use this option unless your Canna
-libraries are somewhere strange. Canna run time support is currently
-bundled with the `mule-base' package so there is nothing additional to
-install in order to use it. NOTE TO OEMS: If modules are supported
-and enabled, the libcanna API support will be build as a module.
+The `--with-canna' option enables the use of the Canna Japanese input method.
+This is stable code and fairly well tested. In order to use it, you will
+have to have the Canna server installed and running. Canna versions 3.2pl2,
+3.5b2, and 3.7p3 are known to work. Version 3.2pl2 is considered more stable
+than version 3.5b2; the stability of 3.7p3 is still unknown. If Canna is
+already installed, configure will autodetect it, so you never need to
+explicitly use this option unless your Canna libraries are somewhere strange.
+Canna run time support is currently bundled with the `mule-base' package so
+there is nothing additional to install in order to use it. NOTE TO OEMS: If
+modules are supported and enabled, the libcanna API support will be build as
+a module. (Default: no.)
The `--with-wnn' and `--with-wnn6' options are for compiling with the Wnn
-multi-language input method. `--with-wnn' is for compiling with Wnn-4.2,
-the Free version of WNN. `--with-wnn6' is for compiling against WNN6,
-the commercial version of WNN available from OMRON Corporation. This is
-stable code and fairly well tested. In order to build with this
-option, you will need to have the `egg-its' lisp package already
-installed.
+multi-language input method. `--with-wnn' is for compiling with Wnn-4.2, the
+Free version of WNN. `--with-wnn6' is for compiling against WNN6, the
+commercial version of WNN available from OMRON Corporation. This is stable
+code and fairly well tested. In order to build with this option, you will
+need to have the `egg-its' lisp package already installed. (Default: no.)
+
+The `--with-xim' option enables use of the X11 XIM mechanism to allow an
+input method to input text into XEmacs. The input method is shared among all
+the X applications sharing an X display and using the same language. The XIM
+support comes in two flavors: `motif' and `xlib'. The Motif support (the
+XmIm* functions) is preferred when available. The XIM support defaults to
+`no' except when Motif is detected where it is stable with OSF libraries.
+The XIM support in Lesstif (a Free Motif replacement) does not work as of
+v0.82. If you enable this option, you will probably wish to install the
+`locale' package which contains localized Splash screens and Menubars.
+
+(This option is deprecated and will be removed.) The `--with-xfs' option
+enables use of a multilingual Menubar. At the present time, only Japanese
+and French locales are supported. In order to use a multilingual Menubar you
+must have the `locale' package installed. The `locale' package does not have
+to be installed when building XEmacs. (Default: no.)
Please note that it is safe to build with as many of the options
`--with-xim', `--with-canna' and `--with-wnn' as your system
supports.
-Options for Developers and Special Requirements
------------------------------------------------
+Configuring the Window System
+-----------------------------
-The `--with-rel-alloc' option can be used to either enable or disable
-use of the relocating allocator. Turning on --with-rel-alloc will allow
-XEmacs to return unused memory to the operating system, thereby reducing
-its memory footprint. However, it may make XEmacs runs more slowly,
-especially if your system's `mmap' implementation is missing or
-inefficient. Generally, it's best to go with the default configuration
-for your system. You can tweak this based on how you use XEmacs, and
-the memory and cpu resources available on your system.
+If you prefer the GTK+ look and feel to Xt, specify `--with-gtk'. You can
+also enable support for some GNOME desktop features with `--with-gnome'. You
+cannot use both GTK+ and Xt at the same time.
-The `--with-system-malloc' option can be used to either enable or
-disable use of the system malloc. Generally, it's best to go with the
-default configuration for your system. Note that on many systems
-using the system malloc disables the use of the relocating allocator.
+If you don't want X Window System support at all, specify `--without-x'. If
+you omit this option, `configure' will try to autodetect whether your system
+has X Window System support, and arrange to use it if present.
-The `--with-debug-malloc' option can be used to link a special
-debugging version of malloc. Debug Malloc is not included with XEmacs
-and is intended for use only by the developers. It may be obtained
-from <URL:http://www.letters.com/dmalloc/>.
+On Cygwin, you can configure support for the "native" MS Windows GUI with
+`--with-msw'. XEmacs supports both `--with-msw' and `--with-x' at the same
+time.
-The `--with-debug' and `--with-error-checking' options are primarily
-useful to the developers. `--with-debug' incorporates code for
-performing various tests, but does not impose a speed penalty.
-`--with-error-checking' adds additional tests to many of the commonly
-used macros, and imposes a speed penalty. Using either or both of these
-options can make bug reports more useful to the developers.
+The `--with-menubars=TYPE' option allows you to specify which X
+toolkit you wish to use for the menubar. The valid options are
+`lucid', `motif' and `no'. The default is `lucid' which is a
+Motif-lookalike menubar. We highly recommend its usage over the real
+Motif menubar. (In fact, the Motif menubar is currently broken.) If
+`no' is specified then support for menubars will not be compiled in.
-The `--verbose' option is useful only to the developers. It displays
-additional information, useful for debugging `configure'.
+The `--with-scrollbars=TYPE' option allows you to specify which X toolkit you
+wish to use for the scrollbars. The valid options are `lucid', `motif',
+`athena', and `no'. The default is `lucid' which is a Motif-lookalike
+scrollbar. If `no' is specified then support for scrollbars will not be
+compiled in.
-MAIL LOCKING
-============
+The `--with-dialogs=TYPE' option allows you to specify which X toolkit you
+wish to use for the dialog boxes. The valid options are `athena', `motif,
+and `no. The `lucid' option is accepted and will result in the `athena'
+toolkit being used. If the Motif toolkit can be found the default is
+`motif'. Otherwise, the default is `athena'. If `no' is specified then
+support for dialog boxes will not be compiled in.
-For most platforms, configure or the src/s file have the preferred
-method for locking mail spool files preconfigured. Otherwise you must
-find out for yourself. Do not choose a locking protocol "on the
-objective merits." XEmacs must use the same method as other mail
-utilities on your system, or you WILL lose mail.
+The `--with-toolbars' option allows you to enable or disable toolbar
+support. The default is `yes' if support for a windowing system is
+included.
-Presently, XEmacs supports lockf, flock, and dot locking. Specify the
-locking method via the --with-mail-locking=METHOD option to configure.
-Valid values for METHOD are --with-mail-locking are `lockf', `flock',
-and `dot'.
+The `--with-dragndrop' option compiles in the generic drag and drop API.
+This is automatically added if one of the drag and drop protocols is found
+(currently CDE, MSWindows, and GTK). *WARNING* The Drag'n'drop support is
+under development and is considered experimental.
+
+Miscellaneous Features
+----------------------
+
+The `--with-xpm' option specifies that XEmacs should support X11
+Pixmaps. (Default: auto.)
+
+The `--with-xface' option specifies that XEmacs should support
+X-Faces. (Default: auto.)
+
+The `--with-database' option specifies that XEmacs should be built with
+simple database support. The valid options are `no' or a comma-separated
+list of one or more of `dbm', `gnudbm' or `berkdb'. (Default: auto.)
+
+The `--with-postgresql' option specifies that XEmacs should be built with
+PostgreSQL support, linking with libpq. (Default: auto.) NOTE TO OEMS: If
+modules are enabled, the libpq API support will be build as a module.
+
+The `--with-ldap' option specifies that XEmacs should be build with LDAP
+support, using the OpenLDAP libraries. (Default: auto.) NOTE TO OEMS: If
+modules are enabled, the OpenLDAP API support will be build as a module.
+
+The `--with-socks' option specifies that XEmacs should be built with
+SOCKS support. This requires the libsocks library. (Default: no.)
+
+The `--with-sound=TYPE' option specifies that XEmacs should be built with
+sound support. Native (`--with-sound=native') sound support is currently
+available only on Sun SparcStations, SGI's, HP9000s, and systems (such as
+Linux) with soundcard.h. Network Audio Support (NAS) (`--with-sound=nas') is
+an extension to X that you may or may not have for your system. For NAS, you
+will probably need to provide the paths to the nas include and library
+directories to configure. ESD ("Enlightened Sound Daemon")
+(`--with-sound=esd') is a third-party library which interacts with a special
+sound daemon. If `--with-sound' is not specified, `configure' will attempt
+to determine if your configuration supports native sound and define
+--with-sound for you. If your native sound library is not in a standard
+location you can specify it with the `--with-native-sound-lib=LIB' flag. For
+Linux, `/dev/audio' is required for SunAudio files and `/dev/dsp' is required
+for raw data and WAVE format files. You may specify as many sound types as
+your system supports, separated by commas: `--with-sound=nas,native'.
+(Default: auto.)
+
+The `--with-tty' option enables TTY support. (Default: yes.)
+
+The `--with-ncurses' options specifies use of the ncurses library for tty
+support. (Default: auto.)
+
+The `--with-gpm' option compiles in GPM mouse support for ttys. (Default:
+no.)
+
+The `--with-external-widget' option specifies that XEmacs should be
+built with support for being used as a widget by other X11 applications.
+This functionality should be considered beta. (Default: no.)
+
+The `--with-tooltalk' option specifies that XEmacs should be built
+with ToolTalk support for interconnecting with other applications.
+ToolTalk is not yet supported on all architectures. If you use this
+option, you should have the tooltalk package (see etc/PACKAGES)
+installed prior to building XEmacs. (Default: no.)
+
+The `--with-sparcworks' option specifies that XEmacs should be built
+with support for Sun Sparcworks 3.0.1 and up (including Sun WorkShop).
+This functionality is only of use on SunOS 4.1.x and Solaris 2.x
+systems. If you use this option, you should have the Sun package (see
+etc/PACKAGES) installed prior to building XEmacs. (Default: no.)
+
+The `--with-cde' option allows you to enable or disable CDE drag and
+drop support. `configure' will attempt to detect this option and
+define `--with-cde' for you. (Default: no.)
RUNNING CONFIGURE
=================
-`configure' doesn't do any compilation or installation itself. It
-just creates the files that influence those things: `./src/config.h',
-and all the Makefiles in the build tree.
+`configure' doesn't do any compilation or installation itself. It just
+creates the files that influence those things: `./src/config.h', and all the
+Makefiles in the build tree.
-When it is done, `configure' prints a description of what it did and
-creates a shell script `config.status' which, when run, recreates the
-same configuration. If `configure' exits with an error after
-disturbing the status quo, it removes `config.status'. If `configure'
-doesn't work as expected, the file `config.log' contains details of
-the tests run and their results.
+XEmacs supports the implicit --srcdir option to allow building outside of the
+source tree. This is recommended; it only requires adding a single build
+directory, cd'ing there, and invoking configure:
-AUXILIARY PATHS
-===============
+ mkdir +build
+ cd +build
+ ../configure [--OPTION[=VALUE]] ...
-Look at `./lisp/paths.el'; if some of those values are not right for
-your system, set up the file `./lisp/site-init.el' with XEmacs Lisp
-code to override them; it is not a good idea to edit paths.el itself.
-YOU MUST USE THE LISP FUNCTION `setq' TO ASSIGN VALUES, rather than
-`defvar', as used by `./lisp/paths.el'. For example,
+If you want to build in the source tree for some reason, cd to the top level
+directory of the XEmacs distribution, and run the program `configure' as
+follows:
- (setq news-inews-program "/usr/bin/inews")
+ ./configure [--OPTION[=VALUE]] ...
-is how you would override the default value of the variable
-news-inews-program (which is "/usr/local/inews").
-
-Before you override a variable this way, *look at the value* that the
-variable gets by default! Make sure you know what kind of value the
-variable should have. If you don't pay attention to what you are
-doing, you'll make a mistake.
-
-Things may malfunction if the variable `directory-abbrev-alist' is not
-set up to translate "temporary" automounter mount points into the
-canonical form. XEmacs tries to detect how your automounter is
-configured. If you have an unusual automounter configuration that
-XEmacs cannot detect, you may need to change the value of
-`directory-abbrev-alist'.
-
-SITE-SPECIFIC STARTUP CODE
-==========================
-
-Put into `./lisp/site-init.el' or `./lisp/site-load.el' any Emacs Lisp
-code you want XEmacs to load before it is dumped out. Use
-site-load.el for additional libraries if you arrange for their
-documentation strings to be in the lib-src/DOC file (see
-src/Makefile.in.in if you wish to figure out how to do that). For all
-else, use site-init.el.
-
-Note that, on some systems, the code you place in site-init.el must
-not use expand-file-name or any other function which may look
-something up in the system's password and user information database.
-See `./PROBLEMS' for more details on which systems this affects.
-
-The `site-*.el' files are nonexistent in the distribution. You do not
-need to create them if you have nothing to put in them.
-
-TERMCAP CONFIGURATION
-=====================
-
-Refer to the file `./etc/TERMS' for information on fields you may
-wish to add to various termcap entries. The files `./etc/termcap.ucb'
-and `./etc/termcap.dat' may already contain appropriately-modified
-entries.
+When it is done, `configure' prints a description of what it did and creates
+a shell script `config.status' which, when run, recreates the same
+configuration. If `configure' exits with an error after disturbing the
+status quo, it removes `config.status'. If `configure' doesn't work as
+expected, the file `config.log' contains details of the tests run and their
+results.
RUNNING MAKE
============
-Run `make' in the top directory of the XEmacs distribution to finish
-building XEmacs in the standard way. The final executable file is
-named `src/xemacs'. You can execute this file in place without
-copying it, if you wish; then it automatically uses the sibling
-directories ../lisp, ../lib-src, ../info.
+`configure' also creates an `Installation' file in the top directory of the
+build tree. Do read this file before running `make'! It's not very long.
+You can save much grief by checking that expected features are listed there.
-Or you can install the executable and the other XEmacs into their
-permanent locations, with `make install'. By default, XEmacs's files
-are installed in the following directories:
+Run `make' in the top directory of the XEmacs distribution to finish building
+XEmacs in the standard way. The final executable file is named `src/xemacs'.
+You can execute this file in place without copying it, if you wish; then it
+automatically uses the sibling directories ../lisp, ../lib-src, ../info.
+
+Or you can install the executable and the other XEmacs into their permanent
+locations, with `make install'. By default, XEmacs's files are installed in
+the following directories:
`/usr/local/bin' holds the executable programs users normally run -
`xemacs', `etags', `ctags', `b2m', `emacsclient', `ellcc',
`gnuclient', `gnudoit', and `gnuattach'.
-`/usr/local/share/xemacs-VERSION/lisp' holds the Emacs Lisp libraries;
+`/usr/local/share/xemacs-VERSION/lisp' holds the basic Emacs Lisp libraries
+ (including core implementations of many Lisp primitives);
`VERSION' stands for the number of the XEmacs version
- you are installing, like `18.59' or `19.14'. Since
+ you are installing, like `19.14' or `21.5.31'. Since
the lisp libraries change from one version of XEmacs to
another, including the version number in the path
allows you to have several versions of XEmacs installed
at the same time; this means that you don't have to
make XEmacs unavailable while installing a new version.
- XEmacs searches for its lisp files in these
- directories, and then in
- `/usr/local/share/xemacs/site-lisp/*'.
+`/usr/local/share/xemacs/xemacs-packages'
+`/usr/local/share/xemacs/mule-packages'
+`/usr/local/share/xemacs/site-packages'
+ XEmacs searches for "packaged" Emacs Lisp applications or
+ extensions and their support files in these hierarchies.
+ Each hierarchy has its own set of lisp, etc, info, lib-src,
+ and pkginfo subdirectories. The pkginfo subdirectory
+ contains "MANIFEST" files used when installing or removing
+ packages. Each of the others has the same purpose as the
+ similarly-named directory for "core XEmacs".
+
+`/usr/local/share/xemacs/site-lisp'
+ A last-resort location for Lisp files (optional).
`/usr/local/share/xemacs-VERSION/etc' holds the XEmacs tutorial, the
Unicode database, and other architecture-independent
@@ -626,22 +463,297 @@
`/usr/local/man/man1' holds the man pages for the programs installed
in `/usr/local/bin'.
-If these directories are not what you want, you can specify where to
-install XEmacs's libraries and data files or where XEmacs should search
-for its lisp files by giving values for `make' variables as part of
-the command.
+If you have specified the `--prefix' option, it will replace "/usr/local"
+in the locations above.
-You can change where the build process installs XEmacs and its data
-files by specifying values for `make' variables as part of the `make'
-command line. For example, if you type
+STRIPPING BINARIES
+==================
+
+This saves nothing but a small (by modern standards) amount of disk space;
+the symbol table is not loaded into memory at execution time. If you do
+encounter a crash or other serious bug, the first thing the developers will
+do is ask you to build an XEmacs with a full symbol table, anyway. Don't
+strip the XEmacs binary.
+
+MAIL-LOCKING POST-INSTALLATION
+==============================
+
+If your system uses dot-locking to interlock access to mailer inbox files,
+then you might need to make the movemail program setuid or setgid to enable
+it to write the lock files. We believe this is not a security hole. The
+setuid/setgid bits need not be set on any other XEmacs-related executables.
+
+CLEANING UP
+==========
+
+You are done with the hard part! You can remove executables and object files
+from the build directory by typing `make clean'. To also remove the files
+that `configure' created (so you can compile XEmacs for a different
+configuration), type `make distclean'.
+
+READ THE FAQ
+============
+
+Do it!
+
+PROBLEMS
+========
+
+The most common problem is that you forgot to read and follow the directions
+for installing bootstrap packages in the FAQ. You can not have a normal
+XEmacs without downloading some additional packages.
+
+See the file PROBLEMS in this directory for a list of various problems
+sometimes encountered, and what to do about them. PROBLEMS is also the place
+where platform-specific build notes can be found.
+
+ADVANCED CONFIGURATION
+======================
+
+There are a large number of options to configure that can be used to control
+the build and installation process. These are primarily of interest to
+developers and OEMs.
+
+Controlling the Host Type
+-------------------------
+
+Almost always, you should let `configure' (actually the shell script
+`config.guess') guess your host type, by omitting the CONFIGURATION-NAME
+argument. If you like to experiment, specify a configuration name in the
+form MACHINE-VENDOR-OPSYS, for example:
+
+sparc-sun-solaris2.6
+
+using the command form
+
+ ./configure [CONFIGURATION-NAME] [--OPTION[=VALUE]] ...
+
+See config.guess and configure.ac for valid values for MACHINE, VENDOR, and
+OPSYS. Also check `./etc/MACHINES' for advice on building on particular
+machines.
+
+Specifying Location of Headers and Libraries
+--------------------------------------------
+
+The `--with-site-includes=DIR' and `--with-site-libraries=DIR' options allow
+you to specify additional places the compiler should look for include files
+and object libraries. You may specify multiple DIR's by enclosing the list
+in quotes. All the external libraries you want to use with XEmacs (e.g. xpm,
+wnn, ...) described later should have their include and library directories
+defined using these options.
+
+The `--with-site-runtime-libraries=DIR' option specifies directories to
+search for shared libraries at run time. If you use this option, you must
+specify ALL of the directories containing shared libraries at run time,
+including system directories. Please read the information about "ADD-ON
+LIBRARIES" above very carefully.
+
+The `--x-includes=DIR' and `--x-libraries=DIR' options tell the build process
+where the compiler should look for the include files and object libraries
+used with the X Window System. Normally, `configure' is able to find them;
+these options are necessary if you have your X Window System files installed
+in unusual places.
+
+Configuring the Build Process
+-----------------------------
+
+The `--with-gcc=PROGRAM' option specifies that the build process should
+compile XEmacs using GCC. The `--with-compiler' option allows you to specify
+some other compiler to be used to compile XEmacs. If neither option is
+specified, the environment variable CC is used instead. Otherwise the
+compiler will then default to 'cc'.
+
+The `--with-xemacs-compiler=PROGRAM' option specifies the compiler control
+program for the xemacs binary only. Other C code will be compiled according
+to the `--with-gcc' and `--with-compiler' options above. This is useful if
+you wish to compile XEmacs with a C++ compiler, because the utilities in
+./lib-src cannot be compiled as C++. This option is primarily intended for
+use by the maintainers.
+
+The `--with-cflags=FLAGS' option specifies all of the CFLAGS the build
+process should use when compiling XEmacs, except for flags controlling
+warning generation. Otherwise the value of the environment variable CFLAGS
+is consulted. If that is also undefined, CFLAGS defaults to "-g -O" for gcc
+and "-g" for all other compilers.
+
+The `--with-cflags-warning=FLAGS' option specifies the warnings to be
+generated. There is normally no reason to use this flag, as XEmacs turns on
+as many warnings as possible, and is still intended to build with no
+warnings. If you get any undocumented warnings, please report them as
+bugs---they very often are, or at least indicate possible bitrot.
+
+The `--with-cflags-optimization=FLAGS' option specifies the optimizations to
+be used. There is normally no reason to use this flag, as XEmacs will
+already set the maximum safe optimization flags appropriate for the compiler
+being invoked.
+
+The `--with-cflags-debugging=FLAGS' option specifies debugging information to
+be generated. You should avoid using this flag, as it makes most severe or
+fatal bugs hard-to-impossible to diagnose and fix. Debugging information
+does not slow down XEmacs at runtime, and it doesn't make the binary very
+much bigger.
+
+The `--with-dynamic' option specifies that configure should try to link
+XEmacs dynamically rather than statically. `--with-static' specifies the
+reverse. XEmacs's configure script detects whether dynamic linking can be
+done on all platforms we know of; these options are normally unnecessary.
+
+The `--with-modules' option specifies that XEmacs be built with support for
+runtime loadable modules. NOTE TO OEMS: XEmacs can be distributed configured
+to support several options based on external APIs (currently LDAP,
+PostgreSQL, and Canna) as loadable modules. You can distribute an XEmacs
+binary package with these options enabled without depending on the external
+package. XEmacs will fail gracefully at runtime, issuing an error message
+indicating that the required support was not found on the system.
+
+You can build XEmacs for several different machine types from a single source
+directory. To do this, you must use a version of `make' that supports the
+`VPATH' variable, such as GNU `make'. Create separate build directories for
+the different configuration types, and in each one, run the XEmacs
+`configure' script. `configure' looks for the Emacs source code in the
+directory that `configure' is in. The `--srcdir' option may not work
+correctly (traditionally it was overridden by the directory containing
+`configure').
+
+Configuring the Installation Layout
+-----------------------------------
+
+The `--prefix=PREFIXDIR' option specifies where the installation process
+should put XEmacs and its data files. This defaults to `/usr/local'.
+- XEmacs (and the other utilities users run) go in PREFIXDIR/bin
+ (unless the `--exec-prefix' option says otherwise).
+- The architecture-independent files go in PREFIXDIR/share/xemacs-VERSION
+ (where VERSION is the version number of XEmacs, like `21.0').
+- The architecture-dependent files go in
+ PREFIXDIR/lib/xemacs-VERSION/CONFIGURATION-NAME
+ (where CONFIGURATION-NAME is the host type, like mips-dec-ultrix4.2),
+ unless the `--exec-prefix' option says otherwise.
+
+The `--exec-prefix=EXECDIR' option allows you to specify a separate portion
+of the directory tree for installing architecture-specific files, like
+executables and utility programs. If specified,
+- XEmacs (and the other utilities users run) go in EXECDIR/bin, and
+- The architecture-dependent files go in
+ EXECDIR/lib/xemacs-VERSION/CONFIGURATION-NAME.
+EXECDIR/bin should be a directory that is normally in users' PATHs.
+
+If you specify --prefix (or any of the other installation directory options),
+they will get compiled into the xemacs executable so it will be able to find
+its various associated files. However, XEmacs has quite elaborate logic to
+find out the locations of these directories dynamically. Sometimes, it is
+desirable *not* to compile these directories into the executable so you can
+move the XEmacs installation around (as whole) at will. This is true for
+binary kits, for instance. Therefore, you can specify --without-prefix on
+the configure command line to prevent the installation prefix to become part
+of the generated executable; everything else will continue to work as usual.
+
+Unlike previous versions of XEmacs (21.4 or earlier),
+architecture-independent files (in particular, the Lisp files and
+package hierarchies) by default get installed under `/usr/local/share'
+rather than `/usr/local/lib'. To create a setup as in previous
+versions, use the `--datadir=/usr/local/lib' option to configure.
+
+Options for Developers and Special Requirements
+-----------------------------------------------
+
+The `--with-rel-alloc' option can be used to either enable or disable
+use of the relocating allocator. Turning on --with-rel-alloc will allow
+XEmacs to return unused memory to the operating system, thereby reducing
+its memory footprint. However, it may make XEmacs runs more slowly,
+especially if your system's `mmap' implementation is missing or
+inefficient. Generally, it's best to go with the default configuration
+for your system. You can tweak this based on how you use XEmacs, and
+the memory and cpu resources available on your system.
+
+The `--with-system-malloc' option can be used to either enable or
+disable use of the system malloc. Generally, it's best to go with the
+default configuration for your system. Note that on many systems
+using the system malloc disables the use of the relocating allocator.
+
+The `--with-debug-malloc' option can be used to link a special
+debugging version of malloc. Debug Malloc is not included with XEmacs
+and is intended for use only by the developers. It may be obtained
+from <URL:http://www.letters.com/dmalloc/>.
+
+The `--with-debug' and `--with-error-checking' options are primarily
+useful to the developers. `--with-debug' incorporates code for
+performing various tests, but does not impose a speed penalty.
+`--with-error-checking' adds additional tests to many of the commonly
+used macros, and imposes a speed penalty. Using either or both of these
+options can make bug reports more useful to the developers.
+
+The `--verbose' option is useful only to the developers. It displays
+additional information, useful for debugging `configure'.
+
+AUXILIARY PATHS
+===============
+
+After configuring, look at `./lisp/paths.el'; if some of those values are not
+right for your system, set up the file `./lisp/site-init.el' with XEmacs Lisp
+code to override them; it is not a good idea to edit paths.el itself. YOU
+MUST USE THE LISP FUNCTION `setq' TO ASSIGN VALUES, rather than `defvar', as
+used by `./lisp/paths.el'. For example,
+
+ (setq news-inews-program "/usr/bin/inews")
+
+is how you would override the default value of the variable
+news-inews-program (which is "/usr/local/inews").
+
+Before you override a variable this way, *look at the value* that the
+variable gets by default! Make sure you know what kind of value the variable
+should have. If you don't pay attention to what you are doing, you'll make a
+mistake.
+
+Things may malfunction if the variable `directory-abbrev-alist' is not set up
+to translate "temporary" automounter mount points into the canonical form.
+XEmacs tries to detect how your automounter is configured. If you have an
+unusual automounter configuration that XEmacs cannot detect, you may need to
+change the value of `directory-abbrev-alist'.
+
+SITE-SPECIFIC STARTUP CODE
+==========================
+
+Put into `./lisp/site-init.el' or `./lisp/site-load.el' any Emacs Lisp code
+you want XEmacs to load before it is dumped out. Use site-load.el for
+additional libraries if you arrange for their documentation strings to be in
+the lib-src/DOC file (see src/Makefile.in.in if you wish to figure out how to
+do that). For all else, use site-init.el.
+
+Note that, on some systems, the code you place in site-init.el must not use
+expand-file-name or any other function which may look something up in the
+system's password and user information database. See `./PROBLEMS' for more
+details on which systems this affects.
+
+The `site-*.el' files are nonexistent in the distribution. You do not need
+to create them if you have nothing to put in them.
+
+TERMCAP CONFIGURATION
+=====================
+
+Refer to the file `./etc/TERMS' for information on fields you may wish to add
+to various termcap entries. The files `./etc/termcap.ucb' and
+`./etc/termcap.dat' may already contain appropriately-modified entries.
+
+ADVANCED MAKE
+=============
+
+If the default installation directories are not what you want, you can
+specify where to install XEmacs's libraries and data files or where XEmacs
+should search for its lisp files by giving values for `make' variables as
+part of the command.
+
+You can change where the build process installs XEmacs and its data files by
+specifying values for `make' variables as part of the `make' command line.
+For example, if you type
make install bindir=/usr/local/gnubin
-the `bindir=/usr/local/gnubin' argument indicates that the XEmacs
-executable files should go in `/usr/local/gnubin', not
-`/usr/local/bin'.
+the `bindir=/usr/local/gnubin' argument indicates that the XEmacs executable
+files should go in `/usr/local/gnubin', not `/usr/local/bin'.
-Here is a complete list of the variables you may want to set.
+Note that this is not tested or recommended, and specifying installation
+locations here rather than via `configure' may not work as expected. Here
+is a complete list of the variables you may want to set.
`bindir' indicates where to put executable programs that users can
run. This defaults to /usr/local/bin.
@@ -718,8 +830,8 @@
determines the default values for the architecture-dependent
path variables - `bindir' and `libdir'.
-The above variables serve analogous purposes in the makefiles for all
-GNU software; here are some variables specific to XEmacs.
+The above variables serve analogous purposes in the makefiles for all GNU
+software; here are some variables specific to XEmacs.
`lispdir' indicates where XEmacs installs and expects its lisp
libraries. Its default value, based on `datadir' (see above),
@@ -760,69 +872,39 @@
dependent, and care should be taken not to set this directory
to a system- or architecture-independent directory.
-Remember that you must specify any variable values you need each time
-you run `make' in the top directory. If you run `make' once to build
-xemacs, test it, and then run `make' again to install the files, you
-must provide the same variable settings each time. To make the
-settings persist, you can edit them into the `Makefile' in the top
-directory, but be aware that running the `configure' program erases
-`Makefile' and rebuilds it from `Makefile.in'.
+Remember that you must specify any variable values you need each time you run
+`make' in the top directory. If you run `make' once to build xemacs, test
+it, and then run `make' again to install the files, you must provide the same
+variable settings each time. To make the settings persist, you can edit them
+into the `Makefile' in the top directory, but be aware that running the
+`configure' program erases `Makefile' and rebuilds it from `Makefile.in'.
-The top-level Makefile stores the variable settings it used in the
-Makefiles for the subdirectories, so you don't have to specify them
-when running make in the subdirectories.
+The top-level Makefile stores the variable settings it used in the Makefiles
+for the subdirectories, so you don't have to specify them when running make
+in the subdirectories.
-Using GNU Make allows for simultaneous builds with and without the
---srcdir option.
+Using GNU Make allows for simultaneous builds with and without the --srcdir
+option.
-STRIPPING BINARIES
-==================
-
-This saves nothing but a small (by modern standards) amount of disk
-space; the symbol table is not loaded into memory at execution time.
-If you do encounter a crash or other serious bug, the first thing the
-developers will do is ask you to build an XEmacs with a full symbol
-table, anyway. Don't strip the XEmacs binary.
-
-MAIL-LOCKING POST-INSTALLATION
-==============================
-
-If your system uses dot-locking to interlock access to mailer inbox
-files, then you might need to make the movemail program setuid or
-setgid to enable it to write the lock files. We believe this is safe.
-The setuid/setgid bits need not be set on any other XEmacs-related
-executables.
-
-CLEANING UP
-==========
-
-You are done with the hard part! You can remove executables and
-object files from the build directory by typing `make clean'. To also
-remove the files that `configure' created (so you can compile XEmacs
-for a different configuration), type `make distclean'.
-
-READ THE FAQ
+MAIL LOCKING
============
-Do it!
+For most platforms, configure or the src/s file have the preferred method for
+locking mail spool files preconfigured. Otherwise you must find out for
+yourself. Do not choose a locking protocol "on the objective merits."
+XEmacs must use the same method as other mail utilities on your system, or
+you WILL lose mail.
-PROBLEMS
-========
-
-The most common problem is that you forgot to read and follow the
-directions for installing bootstrap packages in the FAQ. You can not
-have a normal XEmacs without downloading some additional packages.
-
-See the file PROBLEMS in this directory for a list of various problems
-sometimes encountered, and what to do about them. PROBLEMS is also
-the place where platform-specific build notes can be found.
+Presently, XEmacs supports lockf, flock, and dot locking. Specify the
+locking method via the --with-mail-locking=METHOD option to configure. Valid
+values for METHOD are --with-mail-locking are `lockf', `flock', and `dot'.
APPENDIX: CORRESPONDENCE TO OLD CONFIGURE OPTIONS
=================================================
-Here is a full translation of command line arguments. Note that any
-option starting with "--with" may also be specified with "--enable".
-This list may not be up-to-date.
+Here is a full translation of command line arguments. Note that any option
+starting with "--with" may also be specified with "--enable". This list may
+not be up-to-date.
Old | New
------------------------------------------
@@ -1000,12 +1082,12 @@
--use-kkcc --with-kkcc
--with-modules Unchanged
-The output files produced by this new configure should be almost
-identical to those produced by the old. This can be tested with the
-provided regression test script. This script runs the two versions of
-configure with the supplied list of command line arguments and reports
-any differences. Please add your favorite configuration command lines
-to the list before running the test. The script is run as:
+The output files produced by this new configure should be almost identical to
+those produced by the old. This can be tested with the provided regression
+test script. This script runs the two versions of configure with the
+supplied list of command line arguments and reports any differences. Please
+add your favorite configuration command lines to the list before running the
+test. The script is run as:
$ tests/autoconf/regressiontest.pl /absolute/path/to/2.13/configure \
/absolute/path/to/2.59/configure >diffs.txt
@@ -1016,3 +1098,87 @@
form has been removed), and
- The removal of trailing comments in src/config.h.
+RANDOM NOTES
+============
+
+Definitions
+-----------
+
+A note on terminology: unfortunately the terms "library" and "package" are
+heavily overloaded. In the following, "library" refers to an external body
+of executable code which may be linked with XEmacs at build time to provide
+support for system features, such as images, audio, stream compression,
+databases, and input methods. A "Lisp library" is a file of Lisp code which
+may be loaded into XEmacs at run-time to provide editor features. A
+"package" is a specially prepared Lisp library or set of Lisp libraries,
+providing for easy installation, upgrade, and removal of applications written
+in Lisp.
+
+Package System
+--------------
+
+The FAQ sections 1.7 and 2.1 contain information vital to have a fully
+working XEmacs. It includes a description of available packages, and how to
+bootstrap XEmacs from a minimal or a complete set of packages. This
+information was not included in this file only because it is too large for
+this terse INSTALL. The FAQ is available in Texinfo format in
+man/xemacs-faq.texi, as an Info file once you build XEmacs, and online at
+http://www.xemacs.org/Documentation/21.5/html/xemacs-faq_1.html.
+
+Other
+-----
+
+On some systems, X11, Motif and CDE are optional additions. On MacOS/X
+systems prior to 10.2, you may download X11R6 for Mac OS X from
+http://www.apple.com/macosx/x11/download/. In later releases X11 is
+available as an optional package on the installation CDs. In either case you
+need both the runtime libraries and the SDK (in a sidebar of that page at the
+time of writing). There is also a 3rd-party implementation of X11R6 for the
+Mac at http://www.xdarwin.org/. On Solaris, the SUNWaudmo package enables
+native sound support.
+
+You can get (most of) them from the XEmacs FTP archive at
+<ftp://ftp.xemacs.org/pub/xemacs/aux>. Information about what
+each library does is available in the file
+<ftp://ftp.xemacs.org/pub/xemacs/aux/00README.txt>.
+
+(This note is probably obsolete.) Dynamic linking has pros and cons.
+Dynamically linking 3rd party libraries to XEmacs decreases the size of the
+binary, and means you don't need to rebuild XEmacs to take advantage of
+improvements in the libraries. On the other hand, XEmacs can fail subtly if
+the semantics of a library changes, other users may not be able to use your
+"private" copies of the libraries, and you may have to relink XEmacs, or even
+omit the feature, if the ABI changes when the libraries are upgraded.
+
+Use the `--with-site-includes' and `--with-site-libraries' options when
+building XEmacs to allow configure to find the external software packages.
+For your convenience these can be set together by using the
+`--with-site-prefixes' option. This will set these variables as needed
+assuming your libraries are organised as a typical /usr tree.
+
+If you link dynamically with external libraries, usually denoted by ".so"
+(Unix), ".dll" (Windows), or ".dylib" (MacOS) file extensions, on some
+systems you may also need to add the library directories to the
+`--with-site-runtime-libraries' option. It is typically necessary only if
+you link with dynamic libraries that are installed in non-standard
+directories, or if you expect some of the libraries used to build XEmacs to
+be in a different directory at run time than at build time.
+
+NOTE: This option has unusual semantics. ONLY libraries found in the
+directories specified in this option will be used at runtime. This means you
+must specify ALL directories you want searched at runtime in this option
+(perhaps excluding a very small number of standard system library paths).
+
+Directories specified with `--with-site-libraries' are NOT automatically
+added. The rationale is that most users will not need this option, and this
+allows the builder to specify exactly the needed directories. Specifying
+unnecessary directories leads to obscure problems (typically startup delays)
+if those directories are mounted over a network, and the automounter
+configuration changes. Not all systems need this option; it's best to avoid
+using it if you can.
+
+If you haven't built XEmacs 21.5 recently, the change from the configure
+script based on Autoconf 2.13 can be a shock. Appendix: Correspondence to
+Old Configure Options (at the end of this document) contains a list of old
+options and their new equivalents.
+
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
[AC21.5] Improve warning for unrecognized charset in Xft
12 years
Stephen J. Turnbull
APPROVE COMMIT 21.5
Something that's been hanging aroung in my workspace for a while.
diff -r 8cdd9168fbd2 -r 486ade926857 src/ChangeLog
--- a/src/ChangeLog Wed Sep 26 02:04:16 2012 +0900
+++ b/src/ChangeLog Thu Oct 18 16:08:38 2012 +0900
@@ -0,0 +1,5 @@
+2012-10-18 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * fontcolor-xlike-inc.c (xft_find_charset_font):
+ Improve charset not in table warning message.
+
diff -r 8cdd9168fbd2 -r 486ade926857 src/fontcolor-xlike-inc.c
--- a/src/fontcolor-xlike-inc.c Wed Sep 26 02:04:16 2012 +0900
+++ b/src/fontcolor-xlike-inc.c Thu Oct 18 16:08:38 2012 +0900
@@ -589,7 +589,7 @@
{
/* OK, we fell off the end of the table */
warn_when_safe_lispobj (intern ("xft"), intern ("alert"),
- list2 (build_ascstring ("unchecked charset"),
+ list2 (build_ascstring ("unknown charset in conversion to Xft font"),
charset));
/* default to "en"
#### THIS IS WRONG, WRONG, WRONG!!
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
commit/XEmacs: stephen_at_xemacs: Improve charset not in table warning message.
12 years
Bitbucket
1 new commit in XEmacs:
https://bitbucket.org/xemacs/xemacs/changeset/0bd991c31cd1/
changeset: 0bd991c31cd1
user: stephen_at_xemacs
date: 2012-12-23 19:17:38
summary: Improve charset not in table warning message.
affected #: 2 files
diff -r 40fbceabaafde24b043d2ad163e4671f2121efc9 -r 0bd991c31cd13e40aea42f466bd3180c6743da14 src/ChangeLog
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-18 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * fontcolor-xlike-inc.c (xft_find_charset_font):
+ Improve charset not in table warning message.
+
2012-11-06 Aidan Kehoe <kehoea(a)parhasard.net>
* keymap.c (define_key_check_and_coerce_keysym):
diff -r 40fbceabaafde24b043d2ad163e4671f2121efc9 -r 0bd991c31cd13e40aea42f466bd3180c6743da14 src/fontcolor-xlike-inc.c
--- a/src/fontcolor-xlike-inc.c
+++ b/src/fontcolor-xlike-inc.c
@@ -589,7 +589,7 @@
{
/* OK, we fell off the end of the table */
warn_when_safe_lispobj (intern ("xft"), intern ("alert"),
- list2 (build_ascstring ("unchecked charset"),
+ list2 (build_ascstring ("unknown charset in conversion to Xft font"),
charset));
/* default to "en"
#### THIS IS WRONG, WRONG, WRONG!!
Repository URL: https://bitbucket.org/xemacs/xemacs/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
commit/XEmacs: 2 new changesets
12 years
Bitbucket
2 new commits in XEmacs:
https://bitbucket.org/xemacs/xemacs/changeset/9f1c9f957073/
changeset: 9f1c9f957073
user: stephen_at_xemacs
date: 2012-12-23 17:07:25
summary: Fix ChangeLog ordering.
affected #: 4 files
diff -r 9dc294ae3004d8bf4a793daeef11f559601ccb43 -r 9f1c9f957073bc9018328e301551e18ec6378362 lisp/ChangeLog
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -51,15 +51,15 @@
Removed. Move this to C, so we can use
look_for_coding_system_magic_cookie().
-2012-08-02 Stephen J. Turnbull <stephen(a)xemacs.org>
-
- * XEmacs 21.5.32 "habanero" is released.
-
2012-09-02 Aidan Kehoe <kehoea(a)parhasard.net>
* help.el (describe-function-1):
Document any command remapping that has been done in this function.
+2012-08-02 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * XEmacs 21.5.32 "habanero" is released.
+
2012-05-14 Aidan Kehoe <kehoea(a)parhasard.net>
* byte-optimize.el (byte-optimize-letX):
diff -r 9dc294ae3004d8bf4a793daeef11f559601ccb43 -r 9f1c9f957073bc9018328e301551e18ec6378362 man/ChangeLog
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -17,10 +17,6 @@
Document the new syntax of ## for the symbol with name "" interned
in obarray.
-2012-08-02 Stephen J. Turnbull <stephen(a)xemacs.org>
-
- * XEmacs 21.5.32 "habanero" is released.
-
2012-09-02 Aidan Kehoe <kehoea(a)parhasard.net>
* lispref/keymaps.texi (Keymaps):
@@ -31,6 +27,10 @@
* lispref/keymaps.texi (Other Keymap Functions):
Document the new command remapping functionality in this file.
+2012-08-02 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * XEmacs 21.5.32 "habanero" is released.
+
2012-05-06 Aidan Kehoe <kehoea(a)parhasard.net>
* lispref/macros.texi (Expansion):
diff -r 9dc294ae3004d8bf4a793daeef11f559601ccb43 -r 9f1c9f957073bc9018328e301551e18ec6378362 src/ChangeLog
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -89,10 +89,6 @@
Adopt GNU's ## syntax for the interned symbol with the zero-length
name.
-2012-08-02 Stephen J. Turnbull <stephen(a)xemacs.org>
-
- * XEmacs 21.5.32 "habanero" is released.
-
2012-09-02 Aidan Kehoe <kehoea(a)parhasard.net>
* keymap.c:
@@ -128,6 +124,10 @@
* keymap.c (complex_vars_of_keymap):
* lisp.h: New CHECK_COMMAND macro.
+2012-08-02 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * XEmacs 21.5.32 "habanero" is released.
+
2012-05-14 Aidan Kehoe <kehoea(a)parhasard.net>
* minibuf.c (Ftest_completion):
diff -r 9dc294ae3004d8bf4a793daeef11f559601ccb43 -r 9f1c9f957073bc9018328e301551e18ec6378362 tests/ChangeLog
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -14,15 +14,15 @@
Make sure we can search for character ranges successfully when the
syntax table is dirty.
-2012-08-02 Stephen J. Turnbull <stephen(a)xemacs.org>
-
- * XEmacs 21.5.32 "habanero" is released.
-
2012-09-02 Aidan Kehoe <kehoea(a)parhasard.net>
* automated/keymap-tests.el:
Test the new command remapping functionality.
+2012-08-02 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * XEmacs 21.5.32 "habanero" is released.
+
2012-05-12 Aidan Kehoe <kehoea(a)parhasard.net>
* automated/mule-tests.el:
https://bitbucket.org/xemacs/xemacs/changeset/40fbceabaafd/
changeset: 40fbceabaafd
user: stephen_at_xemacs
date: 2012-12-23 19:08:33
summary: menubar-items.el (default-menubar): Reorganize.
Add PROBLEMS to toplevel.
New "More about XEmacs" submenu for NEWS, licensing, etc.
New "Recent History" menu for messages, lossage, etc.
Get rid of ugly and unexpressive ellipses.
affected #: 2 files
diff -r 9f1c9f957073bc9018328e301551e18ec6378362 -r 40fbceabaafde24b043d2ad163e4671f2121efc9 lisp/ChangeLog
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
+2012-08-03 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * menubar-items.el (default-menubar): Reorganize.
+ Add PROBLEMS to toplevel.
+ New "More about XEmacs" submenu for NEWS, licensing, etc.
+ New "Recent History" menu for messages, lossage, etc.
+ Get rid of ugly and unexpressive ellipses.
+
2012-12-14 Mats Lidell <matsl(a)xemacs.org>
* register.el (describe-register-1): Fix erroneous regular
diff -r 9f1c9f957073bc9018328e301551e18ec6378362 -r 40fbceabaafde24b043d2ad163e4671f2121efc9 lisp/menubar-items.el
--- a/lisp/menubar-items.el
+++ b/lisp/menubar-items.el
@@ -1469,22 +1469,28 @@
nil ; the partition: menus after this are flushright
("%_Help"
- ["%_About XEmacs..." about-xemacs]
- ["%_Home Page (www.xemacs.org)" xemacs-www-page
-:active (fboundp 'browse-url)]
- ["What's %_New in XEmacs" view-emacs-news]
+ ["%_About XEmacs and Contributors" about-xemacs]
+ ("%_More about XEmacs"
+ ["What's %_New in XEmacs" view-emacs-news]
+ ["XEmacs %_License" describe-copying]
+ ["%_No Warranty" describe-no-warranty]
+ ["%_Obtaining the Latest Version" describe-distribution]
+ ["View %_Splash Screen" xemacs-splash-buffer]
+ ["%_Home Page (www.xemacs.org)" xemacs-www-page
+:active (fboundp 'browse-url)])
["B%_eta Info" describe-beta
:included (string-match "beta" emacs-version)]
"-----"
("%_Info (Online Docs)"
["%_Info Contents" (Info-goto-node "(dir)")]
+ ["%_How to Use Info" (Info-goto-node "(Info)")]
"-----"
["XEmacs %_User's Manual" (Info-goto-node "(XEmacs)")]
+ ["%_Getting Started with XEmacs" (Info-goto-node "(New-Users-Guide)")]
["XEmacs %_Lisp Reference Manual" (Info-goto-node "(Lispref)")]
["All About %_Packages" (Info-goto-node "(xemacs)Packages")]
- ["%_Getting Started with XEmacs" (Info-goto-node "(New-Users-Guide)")]
+ ["Find %_Packages" finder-by-keyword]
["%_XEmacs Internals Manual" (Info-goto-node "(Internals)")]
- ["%_How to Use Info" (Info-goto-node "(Info)")]
"-----"
["Lookup %_Key Sequence in User's Manual..."
Info-goto-emacs-key-command-node]
@@ -1554,20 +1560,15 @@
["Show %_Diagnosis for MULE" mule-diag :active nil]
["Show \"%_hello\" in Many Languages" view-hello-file]
)))
- ("%_Other"
- ["%_Current Installation Info" describe-installation
-:active (boundp 'Installation-string)]
- ["%_Known Problems" view-xemacs-problems ]
- ["%_Obtaining the Latest Version" describe-distribution]
- ["%_No Warranty" describe-no-warranty]
- ["XEmacs %_License" describe-copying]
- ["Find %_Packages" finder-by-keyword]
- ["View %_Splash Screen" xemacs-splash-buffer]
- ["%_Unix Manual..." manual-entry])
+ ["%_Unix Manual" manual-entry]
"-----"
- ["Recent %_Messages" (view-lossage t)]
- ["Recent %_Keystrokes" view-lossage]
- ["Recent %_Warnings" view-warnings]
+ ["%_Current Installation Info" describe-installation
+:active (boundp 'Installation-string)]
+ ["%_Known Problems" view-xemacs-problems ]
+ ("Recent History"
+ ["%_Messages" (view-lossage t)]
+ ["%_Keystrokes" view-lossage]
+ ["%_Warnings" view-warnings])
["Send %_Bug Report..." report-xemacs-bug
:active (fboundp 'report-xemacs-bug)]))
"The default XEmacs menubar.
Repository URL: https://bitbucket.org/xemacs/xemacs/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
[AC21.5] Reorganize Help menu
12 years
Stephen J. Turnbull
APPROVE COMMIT 21.5
What it says. I think this is better and more informative, but I will
happily accept suggestions, or if people really don't like it, revert
it.
diff -r dede3f658f8e -r ecf5a43d7546 lisp/ChangeLog
--- a/lisp/ChangeLog Sat Aug 04 23:26:26 2012 +0900
+++ b/lisp/ChangeLog Sun Aug 05 23:57:21 2012 +0900
@@ -0,0 +1,8 @@
+2012-08-03 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * menubar-items.el (default-menubar): Reorganize.
+ Add PROBLEMS to toplevel.
+ New "More about XEmacs" submenu for NEWS, licensing, etc.
+ New "Recent History" menu for messages, lossage, etc.
+ Get rid of ugly and unexpressive ellipses.
+
diff -r dede3f658f8e -r ecf5a43d7546 lisp/menubar-items.el
--- a/lisp/menubar-items.el Sat Aug 04 23:26:26 2012 +0900
+++ b/lisp/menubar-items.el Sun Aug 05 23:57:21 2012 +0900
@@ -1469,22 +1469,28 @@
nil ; the partition: menus after this are flushright
("%_Help"
- ["%_About XEmacs..." about-xemacs]
- ["%_Home Page (www.xemacs.org)" xemacs-www-page
-:active (fboundp 'browse-url)]
- ["What's %_New in XEmacs" view-emacs-news]
+ ["%_About XEmacs and Contributors" about-xemacs]
+ ("%_More about XEmacs"
+ ["What's %_New in XEmacs" view-emacs-news]
+ ["XEmacs %_License" describe-copying]
+ ["%_No Warranty" describe-no-warranty]
+ ["%_Obtaining the Latest Version" describe-distribution]
+ ["View %_Splash Screen" xemacs-splash-buffer]
+ ["%_Home Page (www.xemacs.org)" xemacs-www-page
+:active (fboundp 'browse-url)])
["B%_eta Info" describe-beta
:included (string-match "beta" emacs-version)]
"-----"
("%_Info (Online Docs)"
["%_Info Contents" (Info-goto-node "(dir)")]
+ ["%_How to Use Info" (Info-goto-node "(Info)")]
"-----"
["XEmacs %_User's Manual" (Info-goto-node "(XEmacs)")]
+ ["%_Getting Started with XEmacs" (Info-goto-node "(New-Users-Guide)")]
["XEmacs %_Lisp Reference Manual" (Info-goto-node "(Lispref)")]
["All About %_Packages" (Info-goto-node "(xemacs)Packages")]
- ["%_Getting Started with XEmacs" (Info-goto-node "(New-Users-Guide)")]
+ ["Find %_Packages" finder-by-keyword]
["%_XEmacs Internals Manual" (Info-goto-node "(Internals)")]
- ["%_How to Use Info" (Info-goto-node "(Info)")]
"-----"
["Lookup %_Key Sequence in User's Manual..."
Info-goto-emacs-key-command-node]
@@ -1554,20 +1560,15 @@
["Show %_Diagnosis for MULE" mule-diag :active nil]
["Show \"%_hello\" in Many Languages" view-hello-file]
)))
- ("%_Other"
- ["%_Current Installation Info" describe-installation
-:active (boundp 'Installation-string)]
- ["%_Known Problems" view-xemacs-problems ]
- ["%_Obtaining the Latest Version" describe-distribution]
- ["%_No Warranty" describe-no-warranty]
- ["XEmacs %_License" describe-copying]
- ["Find %_Packages" finder-by-keyword]
- ["View %_Splash Screen" xemacs-splash-buffer]
- ["%_Unix Manual..." manual-entry])
+ ["%_Unix Manual" manual-entry]
"-----"
- ["Recent %_Messages" (view-lossage t)]
- ["Recent %_Keystrokes" view-lossage]
- ["Recent %_Warnings" view-warnings]
+ ["%_Current Installation Info" describe-installation
+:active (boundp 'Installation-string)]
+ ["%_Known Problems" view-xemacs-problems ]
+ ("Recent History"
+ ["%_Messages" (view-lossage t)]
+ ["%_Keystrokes" view-lossage]
+ ["%_Warnings" view-warnings])
["Send %_Bug Report..." report-xemacs-bug
:active (fboundp 'report-xemacs-bug)]))
"The default XEmacs menubar.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches