From 13ac19c284e9ac6b4053503aa9ab15bceb207d9a Mon Sep 17 00:00:00 2001 From: "Philippe M. Chiasson" Date: Mon, 20 Oct 2008 12:07:23 -0400 Subject: [PATCH] Bug 454449. Teach client.mk to fail more gracefully if it can't locate autoconf. r=ted.mielczarek --- client.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client.mk b/client.mk index 3f51e9237ef6..ba6e4579b055 100644 --- a/client.mk +++ b/client.mk @@ -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