Subject: bug#54224: Configure error on windows 11

From: Edouard Debry <[email-masked]>
Date: Wed, 02 Mar 2022 23:39:45 +0100

Hello,

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.

I did not try to compile afterwards for I recall this header file is
mandatory when compiling emacs on windows 11

How can I fix ?

Regards