Bug 793953 - Support autoconf2.13 installed through fink; r=khuey

DONTBUILD
This commit is contained in:
Ehsan Akhgari 2012-09-25 00:17:32 -04:00
Родитель 70f89533be
Коммит 01699a5f74
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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