Bug 454449. Teach client.mk to fail more gracefully if it can't locate autoconf. r=ted.mielczarek

This commit is contained in:
Philippe M. Chiasson 2008-10-20 12:07:23 -04:00
Родитель 9d57703127
Коммит 13ac19c284
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -93,6 +93,10 @@ endif
# MacOS X 10.4 sends "no autoconf*" errors to stdout, discard those via grep
AUTOCONF ?= $(shell which autoconf-2.13 autoconf2.13 autoconf213 2>/dev/null | grep -v '^no autoconf' | head -1)
ifeq (,$(strip $(AUTOCONF)))
$(error Couldn't find autoconf 2.13)
endif
MKDIR := mkdir
SH := /bin/sh
ifndef MAKE