Fix regression with "makefile" not being found on MS-Windows.

* read.c (read_all_makefiles) [WINDOWS32]: Recognize "makefile",
all-lowercase, as a makefile.  Reported by Michael Waeber
<waeber@gmail.com>.
This commit is contained in:
Eli Zaretskii 2014-08-30 10:40:12 +03:00
parent 241787d8e4
commit ab1210b1fe

2
read.c
View file

@ -247,7 +247,7 @@ read_all_makefiles (const char **makefiles)
{ "GNUmakefile", "Makefile", "SMakefile", 0 }; { "GNUmakefile", "Makefile", "SMakefile", 0 };
#else /* !Amiga && !VMS */ #else /* !Amiga && !VMS */
#ifdef WINDOWS32 #ifdef WINDOWS32
{ "GNUmakefile", "Makefile", "makefile.mak", 0 }; { "GNUmakefile", "Makefile", "makefile", "makefile.mak", 0 };
#else /* !Amiga && !VMS && !WINDOWS32 */ #else /* !Amiga && !VMS && !WINDOWS32 */
{ "GNUmakefile", "makefile", "Makefile", 0 }; { "GNUmakefile", "makefile", "Makefile", 0 };
#endif /* !Amiga && !VMS && !WINDOWS32 */ #endif /* !Amiga && !VMS && !WINDOWS32 */