Bug 793953 - Support autoconf2.13 installed through fink; r=khuey
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 25 Sep 2012 00:17:32 -0400
changeset 108186 5668f229dc6af6ae48d32374bd4b4e211cde7c9a
parent 108185 212cf709135c0379d254036e7437c933b57fb607
child 108187 6b87b58ff491875e1d8e5462834ffe3965f22351
push id15433
push userryanvm@gmail.com
push dateWed, 26 Sep 2012 22:56:47 +0000
treeherdermozilla-inbound@d0d8848ffd07 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs793953
milestone18.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 793953 - Support autoconf2.13 installed through fink; r=khuey DONTBUILD
client.mk
--- a/client.mk
+++ b/client.mk
@@ -55,16 +55,21 @@ else
 TOPSRCDIR := $(CWD)
 endif
 endif
 
 # try to find autoconf 2.13 - discard errors from 'which'
 # 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
 
 SH := /bin/sh
 PERL ?= perl
 PYTHON ?= python