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
parent cc5775ddaa
commit 4a7672a529

View File

@ -89,11 +89,9 @@ endif
TOPSRCDIR = $(CWD) TOPSRCDIR = $(CWD)
endif endif
ifeq (Darwin,$(shell uname -s)) # try to find autoconf 2.13 - discard errors from 'which'
AUTOCONF ?= autoconf213 # MacOS X 10.4 sends "no autoconf*" errors to stdout, discard those via grep
else AUTOCONF ?= $(shell which autoconf-2.13 autoconf2.13 autoconf213 2>/dev/null | grep -v '^no autoconf' | head -1)
AUTOCONF ?= $(shell which autoconf-2.13 autoconf2.13 autoconf213 | head -1)
endif
MKDIR := mkdir MKDIR := mkdir
SH := /bin/sh SH := /bin/sh