There is a "version suffix" that defaults to "-dev". A maintainer could
change the suffix (or remove it) by invoking make:
make BUILD_SUFFIX=-foo
make BUILD_SUFFIX=
It can also be changed in gyp builds:
gyp winpty.gyp --depth=1 -D BUILD_SUFFIX=-foo
gyp winpty.gyp --depth=1 -D BUILD_SUFFIX=
If git cannot be executed, the string "none" is used for the commit hash.
* The files in the repo are natively LF.
* These days, I'm using Cygwin git, which is creating a checkout full of
LF files.
* I think this .gitattributes file will instruct git to use the default
line ending for almost all the files. I'm forcing LF on shell scripts,
because Cygwin/MSYS chokes on CRLF shell scripts.
* For my Cygwin git checkouts, the default is LF. I'll get a warning if
I try to checkin an CRLF file, but that's OK.
* Move the Cygwin/MSYS detection logic from config-*.mk into this new
script.
* Recognize either the 32-bit MinGW or the 32-bit MinGW-w64 compiler
driver for Cygwin.