Subject: bug#54224: Configure error on windows 11

From: Edouard Debry <[email-masked]>
Date: Thu, 03 Mar 2022 22:30:10 +0100

Eli Zaretskii <[email-masked]> writes:

>> From: Edouard Debry <[email-masked]>
>> Date: Wed, 02 Mar 2022 23:39:45 +0100
>> 
>> Latest (from yesterday) emacs master retrieved.
>> 
>> Configuration :
>> 
>> CFLAGS="-O2 -march=skylake" ./configure
>> --prefix=/d/Documents/utils/msys64/mingw64/local
>> --without-compress-install --with-native-compilation --without-dbus
>> --without-pop --with-modules
>> 
>> ends with :
>> 
>> ...
>> config.status: creating admin/charsets/Makefile
>> config.status: creating admin/unidata/Makefile
>> config.status: creating admin/grammars/Makefile
>> config.status: creating src/config.h
>> config.status: executing src/epaths.h commands
>> sed: -e expression #1, char 79: unknown option to `s'
>> gmake: *** [Makefile:420: epaths-force-w32] Error 1
>> config.status: error: 'src/epaths.h' could not be made.
>
> No such problem here.
>
> What does the following command show if you invoke it from the Git
> Bash prompt in the Emacs work tree:
>
>     git config core.autocrlf

Fixed, issue was that "gmake" was used instead of "make" because of my
PATH.

Regards