[prev in list] [next in list] [prev in thread] [next in thread] 

List:       autoconf-bug
Subject:    MinGW's awk 3.1.7, config.status, and CRLF issues
From:       Werner LEMBERG <wl () gnu ! org>
Date:       2012-01-29 12:05:56
Message-ID: 20120129.130556.03423641.wl () gnu ! org
[Download RAW message or body]


Folks,


after a few hours of debugging I've discovered that either MinGW awk
3.1.7 or MinGW autoconf 2.68's awk script as used in `config.status'
(to convert `foo.h.in' into `foo.h') has problems with CRLF: Only if
the original input file has Unix line endings, the script runs
successfully!  Otherwise, no substitution of

  #undef HAVE_FOO_H

into

  #define HAVE_FOO_H

(and similar lines) happens.

Is this expected behaviour?  I have simply checked out the FreeType
git repository and run its `autogen.sh' script, and by default git
converts text files to CRLF on Windows.  The above is a very
unpleasant surprise.


    Werner


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic