1.146 of the win/tcl/Makefile.in has:
TOP_DIR = $(shell cd @srcdir@/..; pwd)
In msys 0.8, this makes TOP_DIR become something like this:
The : in that breaks VPATH searches. So HEAD doesn't build with msys0.8.
Changing it to this fixes it:
TOP_DIR = $(shell cd @srcdir@/..; pwd -P)
pwd -P causes the path to be returned as :
which makes VPATH happy.
From the chatroom (with kbk). It seems that the default is different msys1.0
msys1.0 returns /c/ style paths without the -P flag. It returns /c/ style
paths even with the -P flag.
Adding the -P flag would make it compatible with both msys 0.8 and msys 1.0