This commit is contained in:
jpierre%netscape.com 2001-10-29 22:42:12 +00:00
Родитель 1b2af580fb
Коммит fa25ff0952
1 изменённых файлов: 14 добавлений и 1 удалений

Просмотреть файл

@ -104,7 +104,20 @@ ifdef USE_DEBUG_RTL
NSPR_CONFIGURE_OPTS += --enable-debug-rtl
endif
ifeq ($(OS_ARCH),OS2)
#
# Some pwd commands on Windows (for example, the pwd
# command in Cygwin) return a pathname that begins
# with a (forward) slash. When such a pathname is
# passed to Windows build tools (for example, cl), it
# is mistaken as a command-line option. If that is the case,
# we use a relative pathname as NSPR's prefix on Windows.
#
USEABSPATH=':'
ifeq ($(OS_ARCH),WINNT)
USEABSPATH=$(findstring :,$(shell pwd))
endif
ifeq ($(USEABSPATH),':')
NSPR_PREFIX = $(shell pwd)/../../dist/$(OBJDIR_NAME)
else
NSPR_PREFIX = $$(topsrcdir)/../dist/$(OBJDIR_NAME)