Commit 5102c2f5 authored by Ehsan Akhgari's avatar Ehsan Akhgari
Browse files

Bug 793953 follow-up: use the ?= syntax to get rid of the explicit condition; irc-r=glandium

DONTBUILD this either!
parent 01699a5f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -61,9 +61,7 @@ endif
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)