bug 450948 - Remove Mac case from AUTOCONF detection code - simple, slightly hacky, new fix, r=ted

This commit is contained in:
Robert Kaiser 2008-08-24 20:02:13 +02:00
Родитель 0a011d33d2
Коммит 6d0ef5bfba
1 изменённых файлов: 3 добавлений и 5 удалений

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

@ -89,11 +89,9 @@ endif
TOPSRCDIR = $(CWD)
endif
ifeq (Darwin,$(shell uname -s))
AUTOCONF ?= autoconf213
else
AUTOCONF ?= $(shell which autoconf-2.13 autoconf2.13 autoconf213 | head -1)
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)
MKDIR := mkdir
SH := /bin/sh