Subject: Re: bug#21789: 25.0.50; Can' build Emacs (my first build since GIT migration)

From: Eli Zaretskii <[email-masked]>
Date: Fri, 30 Oct 2015 22:31:30 +0200

> From: Vincent Belaïche <[email-masked]>
> CC: "[email-masked]" <[email-masked]>
> Date: Fri, 30 Oct 2015 19:17:28 +0100
> 
> Thank you for your kind help. After some checking, it proved out that
> file configure.ac contained CRLF EOL's.

Ah, that's another gotcha: you should configure Git to checkout "as
is".  See the instructions in nt/INSTALL, near its beginning.

> After doing some dos2unix on configure.ac, the ./autogen.sh runs
> normally and I get a configure script --- which I have not yet used.

If you run dos2unix or a similar program on these files, Git will
think they are modified.  So this is a bad idea.  Instead, remove the
Git repository, re-install Git as instructed in nt/INSTALL, then
re-clone the repository again.