Bug 434068 - client.mk from mozilla-central does not provide CONFIG_GUESS, r=:luser, a=jorendorff
authorbcrowder@mozilla.com
Fri, 16 May 2008 12:15:53 -0700
changeset 15137 819a2c29e295c93af2cb4d697ec91575794f6058
parent 15136 94f683ea67ed15dcaeaefa810150667ee966fc15
child 15138 ce1413f5e3068d8a3f07d39b4fe6a17ed2de1e0c
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs434068
milestone1.9.1a1pre
Bug 434068 - client.mk from mozilla-central does not provide CONFIG_GUESS, r=:luser, a=jorendorff
client.mk
--- a/client.mk
+++ b/client.mk
@@ -101,16 +101,21 @@ MKDIR := mkdir
 SH := /bin/sh
 ifndef MAKE
 MAKE := gmake
 endif
 PERL ?= perl
 PYTHON ?= python
 
 RUN_AUTOCONF_LOCALLY = 1
+CONFIG_GUESS_SCRIPT := $(wildcard $(TOPSRCDIR)/build/autoconf/config.guess)
+ifdef CONFIG_GUESS_SCRIPT
+  CONFIG_GUESS = $(shell $(CONFIG_GUESS_SCRIPT))
+endif
+
 
 ####################################
 # Sanity checks
 
 ifneq (,$(filter MINGW%,$(shell uname -s)))
 # check for CRLF line endings
 ifneq (0,$(shell $(PERL) -e 'binmode(STDIN); while (<STDIN>) { if (/\r/) { print "1"; exit } } print "0"' < $(TOPSRCDIR)/client.mk))
 $(error This source tree appears to have Windows-style line endings. To \