Check for non-whitespace instead of alphanumerics when grabbing module names from the REQUIRES list.

Bug #141999 sr=alecf
This commit is contained in:
seawood%netscape.com 2002-05-13 03:55:52 +00:00
parent 5915792ecd
commit d5f00c4c67

View File

@ -142,7 +142,7 @@ INCS=$(INCS) -I$(PUBLIC) -I$(DIST)\include -I$(XPDIST)\include\nspr
# use perl to translate REQUIRES into a proper include line
# using \1 instead of $1 because nmake barfs on $1
!if [echo $(REQUIRES) | perl -pe "s/(\w+)/-I$(XPDIST:\=\/)\\\include\\\\\1/g; print \"REQINCS=$_\";" > reqincs.inc]
!if [echo $(REQUIRES) | perl -pe "s/(\S+)/-I$(XPDIST:\=\/)\\\include\\\\\1/g; print \"REQINCS=$_\";" > reqincs.inc]
!endif
!else