* Makefile.common: Change method for finding current directory.

This commit is contained in:
Christopher Faylor 2001-05-15 05:11:55 +00:00
parent 7ede23a128
commit f162ad82fc
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -28,7 +28,13 @@ endif
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:=../..