+Tue May 15 01:09:56 2001 Christopher Faylor <cgf@cygnus.com>
+
+ * Makefile.common: Change method for finding current directory.
+
Sat May 5 00:14:03 2001 Christopher Faylor <cgf@cygnus.com>
* configure.in: Fix typo.
endif
pwd:=${shell pwd}
-here:=${word 1,${subst winsup/,winsup ,$(pwd)}}/cygwin
+ifneq "${filter winsup%,${notdir $(pwd)}}" ""
+a:=${shell ${filter winsup%,${notdir $(pwd)}} >/dev/tty}
+ here:=${pwd}/cygwin
+else
+a:=${shell ${filter winsup%,${notdir $(pwd)}} >/dev/tty}
+ here:=${dir $(pwd)}cygwin
+endif
bupdir:=${shell cd $(here)/..; pwd}
ifneq (,${filter-out /%,$(bupdir)})
bupdir1:=../..