Fix \r problems on recent Cygwins (#682)
Fix \r problems on recent Cygwins (#682)

The Cygwin packages for awk, grep and sed were updated on 20 February
2017 so that they no longer automatically strip \r characters on binary
mounts. Add tr calls in various places in configure to get rid of them.

This also fixes the findlib version test, which would never have worked.

References:
  * https://cygwin.com/ml/cygwin/2017-02/msg00152.html
  * https://cygwin.com/ml/cygwin/2017-02/msg00189.html
  * https://cygwin.com/ml/cygwin/2017-02/msg00188.html

Signed-off-by: David Allsopp <c9f3edd67895121805b8da006fd27cc8ebcfeb7e@metastack.com>
the-lambda-church/merlin,rgrinberg/merlin,the-lambda-church/merlin,rgrinberg/merlin,ocaml/merlin,ocaml/merlin,dra27/merlin,dra27/merlin,rgrinberg/merlin,ocaml/merlin,dra27/merlin,ocaml/merlin,the-lambda-church/merlin,rgrinberg/merlin,dra27/merlin