Makefile: add comment on CYGWIN_V15_WIN32API
authorMark Levedahl <mlevedahl@gmail.com>
Sun, 6 Jan 2013 19:56:33 +0000 (11:56 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 Jan 2013 21:36:46 +0000 (13:36 -0800)
There is no documented, reliable, and future-proof method to
determine the installed w32api version on Cygwin. There are many
things that can be done that will work frequently, except when they
won't.

The only sane thing is to follow the guidance of the Cygwin
developers: the only supported configuration is that which the
current setup.exe produces, and in the case of problems, if the
installation is not up to date then updating is the first required
action.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
index 4d47af5d6b24aa51589b9c3d7a3e9eb5c4a39711..52e298a73b13aef15d145a97173f1fbc72126b3b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -273,6 +273,10 @@ all::
 #
 # Define NO_REGEX if you have no or inferior regex support in your C library.
 #
+# Define CYGWIN_V15_WIN32API if you are using Cygwin v1.7.x but are not
+# using the current w32api packages. The recommended approach, however,
+# is to update your installation if compilation errors occur.
+#
 # Define HAVE_DEV_TTY if your system can open /dev/tty to interact with the
 # user.
 #