Bug 793953 follow-up: use the ?= syntax to get rid of the explicit condition; irc-r=glandium
☠☠ backed out by a425ea4f16c9 ☠ ☠
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 26 Sep 2012 15:15:41 -0400
changeset 108109 6b87b58ff491875e1d8e5462834ffe3965f22351
parent 108108 5668f229dc6af6ae48d32374bd4b4e211cde7c9a
child 108110 a425ea4f16c947ab198f5329165cf6582b50cc4f
push id1708
push userakeybl@mozilla.com
push dateMon, 19 Nov 2012 21:10:21 +0000
treeherdermozilla-esr52@2704e441363f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs793953
milestone18.0a1
Bug 793953 follow-up: use the ?= syntax to get rid of the explicit condition; irc-r=glandium DONTBUILD this either!
client.mk
--- a/client.mk
+++ b/client.mk
@@ -56,19 +56,17 @@ 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
+AUTOCONF ?= $(shell which fink >/dev/null 2>&1 && echo `which fink`/../../lib/autoconf2.13/bin/autoconf)
 
 ifeq (,$(strip $(AUTOCONF)))
 AUTOCONF=$(error Could not find autoconf 2.13)
 endif
 
 SH := /bin/sh
 PERL ?= perl
 PYTHON ?= python