bug 450967 - Check for alternate autoconf-2.13 names in comm-central build system, r=Standard8
☠☠ backed out by 5dd97780d577 ☠ ☠
authorRobert Kaiser <kairo@kairo.at>
Mon, 18 Aug 2008 16:05:39 +0200
changeset 128 bad4bd9c53c5584347d7a2acbe10b82e1aadae26
parent 127 a7881593c05a756c8d1fab173307a7138678dbf9
child 129 13eae6fc3733db9c5a6b0f290dd703930bb57975
child 131 5dd97780d577ed346d9cf5198fbd4f05fd6c0f0b
push idunknown
push userunknown
push dateunknown
reviewersStandard8
bugs450967
bug 450967 - Check for alternate autoconf-2.13 names in comm-central build system, r=Standard8
client.mk
--- a/client.mk
+++ b/client.mk
@@ -86,21 +86,17 @@ endif
 
 ifndef TOPSRCDIR
 ifeq (,$(wildcard client.mk))
 $(error Must run from the client.mk directory, or specify TOPSRCDIR)
 endif
 TOPSRCDIR = $(CWD)
 endif
 
-ifeq (Darwin,$(shell uname -s))
-AUTOCONF ?= autoconf213
-else
-AUTOCONF ?= autoconf-2.13
-endif
+AUTOCONF ?= $(shell which autoconf-2.13 autoconf2.13 autoconf213 | head -1)
 
 MKDIR := mkdir
 SH := /bin/sh
 ifndef MAKE
 MAKE := gmake
 endif
 PERL ?= perl
 PYTHON ?= python