diff options
| author | Philipp Stephani <phst@google.com> | 2016-03-02 10:21:45 -0800 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-03-02 10:24:11 -0800 |
| commit | d5a18a93270bfc8c36e40910f8520b3738a91f43 (patch) | |
| tree | 9b1ec350299e142d4431ca7da9d519e80c0ca366 /lisp/version.el | |
| parent | a59a4bd47a9435fed49213d9613cce7aba193da7 (diff) | |
| download | emacs-d5a18a93270bfc8c36e40910f8520b3738a91f43.tar.gz | |
Remove build system name from deterministic dumps
* configure.ac (DETERMINISTIC_DUMP): New configuration option.
* lisp/version.el (emacs-build-time): Add a comment to make the
build time deterministic if requested.
(emacs-build-system): Make variable deterministic if requested.
* src/emacs.c (main): Initialize `deterministic-dump' from the
configuration option.
(syms_of_emacs): New constant `deterministic-dump'.
* src/sysdep.c (init_system_name): Use a constant
if a deterministic dump is requested.
Diffstat (limited to 'lisp/version.el')
| -rw-r--r-- | lisp/version.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/version.el b/lisp/version.el index 77188a51ee3..ba24964bd25 100644 --- a/lisp/version.el +++ b/lisp/version.el @@ -38,12 +38,13 @@ This variable first existed in version 19.23.") "Minor version number of this version of Emacs. This variable first existed in version 19.23.") +;; FIXME: The next variable should also be a constant if +;; `deterministic-dump' is t. (defconst emacs-build-time (current-time) "Time at which Emacs was dumped out.") -;; I think this should be obsoleted/removed. It's just one more meaningless -;; difference between different builds. It's usually not even an fqdn. -(defconst emacs-build-system (system-name) +(defconst emacs-build-system + (if deterministic-dump "elided" (system-name)) "Name of the system on which Emacs was built.") (defvar motif-version-string) |
