Bug 913246 - Fix configure with relative MOZCONFIG. r=gps

This commit is contained in:
Mike Hommey 2013-09-06 11:24:43 +09:00
Родитель d48d7a764b
Коммит 24040102a2
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -120,6 +120,8 @@ endef
MOZCONFIG_CONTENT := $(subst ||,$(CR),$(subst || ,$(CR),$(shell _PYMAKE=$(.PYMAKE) $(TOPSRCDIR)/$(MOZCONFIG_LOADER) $(TOPSRCDIR) | sed 's/$$/||/')))
$(eval $(MOZCONFIG_CONTENT))
export FOUND_MOZCONFIG
# As '||' was used as a newline separator, it means it's not occurring in
# lines themselves. It can thus safely be used to replaces normal spaces,
# to then replace newlines with normal spaces. This allows to get a list