diff options
author | Glenn Morris <rgm@gnu.org> | 2022-01-12 09:35:43 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2022-01-12 09:35:43 -0800 |
commit | 745580a36dc284d322a8d266ed39f80af3231d51 (patch) | |
tree | 04ce8828f5d721cfa7f49cc019fd95df67988df8 /Makefile.in | |
parent | db745f37aec2adc44ec4b2eae0720e0365ed0ca9 (diff) | |
download | emacs-745580a36dc284d322a8d266ed39f80af3231d51.tar.gz emacs-745580a36dc284d322a8d266ed39f80af3231d51.tar.bz2 emacs-745580a36dc284d322a8d266ed39f80af3231d51.zip |
Avoid user environment interfering with bootstrap
* Makefile.in, admin/unidata/Makefile.in:
* doc/misc/Makefile.in, lib-src/Makefile.in:
Don't export user environment variables that can affect running
emacs. (Bug#53038)
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index b72127dde67..8ac6f527469 100644 --- a/Makefile.in +++ b/Makefile.in @@ -319,6 +319,9 @@ GLIB_COMPILE_SCHEMAS = glib-compile-schemas # Program name transformation. TRANSFORM = @program_transform_name@ +# Prevent any settings in the user environment causing problems. +unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH + # What emacs should be called when installed. EMACS_NAME = `echo emacs | sed '$(TRANSFORM)'` EMACS = ${EMACS_NAME}${EXEEXT} |