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
Родитель c42140ec02
Коммит 2f26f4612f
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