From 01699a5f7405188921d245a666a2acb66b60073a Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Tue, 25 Sep 2012 00:17:32 -0400 Subject: [PATCH] Bug 793953 - Support autoconf2.13 installed through fink; r=khuey DONTBUILD --- client.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client.mk b/client.mk index bdf4feea2a9e..040de49db916 100644 --- a/client.mk +++ b/client.mk @@ -60,6 +60,11 @@ 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) +# See if the autoconf package was installed through fink +ifeq (,$(strip $(AUTOCONF))) +AUTOCONF = $(shell which fink >/dev/null 2>&1 && echo `which fink`/../../lib/autoconf2.13/bin/autoconf) +endif + ifeq (,$(strip $(AUTOCONF))) AUTOCONF=$(error Could not find autoconf 2.13) endif