Subject: Re: bug#7460: 23.2.90; temacs needs LANG=C, build will fail if not.

From: Eli Zaretskii <[email-masked]>
Date: Sun, 21 Nov 2010 20:07:48 +0200

> Date: Sun, 21 Nov 2010 15:23:46 +0100
> From: Jan Djärv <[email-masked]>
> Cc: 
> 
> I seem to remember there used to be a LANG=C before temacs, but is seems to be 
> gone now?

That was LC_ALL=C, and I still see it here:

  emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp}
  #ifdef CANNOT_DUMP
	  rm -f emacs${EXEEXT}
	  ln temacs${EXEEXT} emacs${EXEEXT}
	  -EMACSLOADPATH=${lispsource} ./emacs -q -batch -f list-load-path-shadows
  #else
	  LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump
	  @: This new Emacs is as functional and more efficient then
	  @: bootstrap-emacs, so let us replace it.
	  -ln -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}
	  -./emacs -q -batch -f list-load-path-shadows
  #endif /* ! defined (CANNOT_DUMP) */

The problem is, this part doesn't have it:

  bootstrap-emacs${EXEEXT}: temacs${EXEEXT}
	  cd ../lisp; $(MAKE) $(MFLAGS) update-subdirs
  #ifdef CANNOT_DUMP
	  ln -f temacs${EXEEXT} bootstrap-emacs${EXEEXT}
  #else
	  $(RUN_TEMACS) --batch --load loadup bootstrap
	  mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}
  #endif /* ! defined (CANNOT_DUMP) */