]> git.eshelyaron.com Git - emacs.git/commitdiff
[ChangeLog]
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Jun 2011 04:16:37 +0000 (21:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Jun 2011 04:16:37 +0000 (21:16 -0700)
* configure.in: Add --with-wide-int.
* INSTALL: Mention this.
[etc/ChangeLog]
* NEWS: Mention new configure option --with-wide-int.

ChangeLog
INSTALL
configure.in
etc/ChangeLog
etc/NEWS

index 020991e46778472d639178d51afdfad999a787f3..55d89f537f49cbd496d0b05476c52461290c29cc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * configure.in: Add --with-wide-int.
+       * INSTALL: Mention this.
+
 2011-06-06  Paul Eggert  <eggert@cs.ucla.edu>
 
        Merge from gnulib.
diff --git a/INSTALL b/INSTALL
index 0c69b522785cf75b5493c9ef205a532a1d2e2c04..03682d19b10a162cf3b76241c84f76fa87a21b04 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -309,6 +309,10 @@ systems which support that.
 
 Use --without-sound to disable sound support.
 
+Use --with-wide-int to implement Emacs values with the type 'long long',
+even on hosts where a narrower type would do.  With this option, on a
+typical 32-bit host, Emacs integers have 62 bits instead of 30.
+
 The `--prefix=PREFIXDIR' option specifies where the installation process
 should put emacs and its data files.  This defaults to `/usr/local'.
 - Emacs (and the other utilities users run) go in PREFIXDIR/bin
index 06880ea154b73d89b6dbe8c345e2d39b222ccbae..3d507789f22944a06fd16b28a0069f08d0ba4acb 100644 (file)
@@ -144,6 +144,11 @@ this option's value should be `yes', `no', `lucid', `athena', `motif', `gtk' or
          with_x_toolkit=$val
 ])
 
+OPTION_DEFAULT_OFF([wide-int], [prefer wide Emacs integers (typically 62-bit)])
+if test "$with_wide_int" = yes; then
+  AC_DEFINE([WIDE_EMACS_INT], 1, [Use long long for EMACS_INT if available.])
+fi
+
 dnl _ON results in a '--without' option in the --help output, so
 dnl the help text should refer to "don't compile", etc.
 OPTION_DEFAULT_ON([xpm],[don't compile with XPM image support])
index 4586628e2961d10241c56c3aec2e77e13bde06cd..0dba10468f1f6376aa9985b16adda01a339c0606 100644 (file)
@@ -1,3 +1,7 @@
+2011-06-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * NEWS: Mention new configure option --with-wide-int.
+
 2011-05-24  Leo Liu  <sdl.web@gmail.com>
 
        * NEWS: Mention the new primitive sha1 and the removal of sha1.el.
index e657b79150515183ef8cc84f49db6cdb6832dd87..4a56915798c900b2eded4c6b344a128f4fd25277 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -47,6 +47,9 @@ also depend on Gtk+.  You can disable them with --without-rsvg and
 This is only useful for Emacs developers to debug certain types of bugs.
 This is not a new feature; only the configure flag is new.
 
+** There is a new configure option --with-wide-int.
+With it, Emacs integers typically have 62 bits, even on 32-bit machines.
+
 ---
 ** New translation of the Emacs Tutorial in Hebrew is available.
 Type `C-u C-h t' to choose it in case your language setup doesn't