Bug 432911 - "Hardcoded autoconf-2.13 in client.mk breaks OS X builds". r=josh, sr+a=ted.
authorBen Turner <bent.mozilla@gmail.com>
Fri, 16 May 2008 12:05:14 -0700
changeset 15136 94f683ea67ed15dcaeaefa810150667ee966fc15
parent 15135 e5926576f014aa04509af07dde605ad21d294848
child 15137 819a2c29e295c93af2cb4d697ec91575794f6058
push idunknown
push userunknown
push dateunknown
reviewersjosh, sr
bugs432911
milestone1.9.1a1pre
Bug 432911 - "Hardcoded autoconf-2.13 in client.mk breaks OS X builds". r=josh, sr+a=ted.
client.mk
--- a/client.mk
+++ b/client.mk
@@ -86,17 +86,22 @@ endif
 
 ifndef TOPSRCDIR
 ifeq (,$(wildcard client.mk))
 $(error Must run from the client.mk directory, or specify TOPSRCDIR)
 endif
 TOPSRCDIR = $(CWD)
 endif
 
-AUTOCONF := autoconf-2.13
+ifeq (Darwin,$(shell uname -s))
+AUTOCONF ?= autoconf213
+else
+AUTOCONF ?= autoconf-2.13
+endif
+
 MKDIR := mkdir
 SH := /bin/sh
 ifndef MAKE
 MAKE := gmake
 endif
 PERL ?= perl
 PYTHON ?= python