On Thu, 16 Apr 2020, Martin Li?ka wrote: > The patch is fix for Cygwin where we should not define > HAVE_DOS_BASED_FILE_SYSTEM > and use back slashes as a path component separator. [...] > diff --git a/ltmain.sh b/ltmain.sh > index 79f9ba89af5..8ad183010f0 100644 > --- a/ltmain.sh > +++ b/ltmain.sh > @@ -3425,7 +3425,7 @@ int setenv (const char *, const char *, int); > # define PATH_SEPARATOR ':' > #endif > > -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ > +#if (defined (_WIN32) && ! defined(__CYGWIN__)) || defined (__MSDOS__) || > defined (__DJGPP__) || \ > defined (__OS2__) > # define HAVE_DOS_BASED_FILE_SYSTEM > # define FOPEN_WB "wb"
This part needs to go upstream so as to let us avoid local clutter. Also this does not fit in 80 columns and has to be reformatted. Maciej