From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nali Toja Newsgroups: gmane.emacs.bugs Subject: bug#9868: 24.0.90; autodepend: check environment before using `make' Date: Tue, 25 Oct 2011 09:57:11 +0000 Message-ID: <86aa8pl7go.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319536845 1813 80.91.229.12 (25 Oct 2011 10:00:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2011 10:00:45 +0000 (UTC) To: 9868@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 25 12:00:41 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RIdoF-0003ZP-Mi for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 12:00:39 +0200 Original-Received: from localhost ([::1]:45546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIdoF-0001W3-5h for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 06:00:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIdo8-0001Vu-W3 for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 06:00:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIdo2-0006kC-Vk for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 06:00:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIdo2-0006k6-Sm for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 06:00:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RIdpZ-00071R-Ue for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 06:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nali Toja Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Oct 2011 10:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9868 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131953687026930 (code B ref -1); Tue, 25 Oct 2011 10:02:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Oct 2011 10:01:10 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIdok-00070J-3C for submit@debbugs.gnu.org; Tue, 25 Oct 2011 06:01:10 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIdoh-000705-S0 for submit@debbugs.gnu.org; Tue, 25 Oct 2011 06:01:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIdmz-0006XC-Qv for submit@debbugs.gnu.org; Tue, 25 Oct 2011 05:59:26 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:33158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIdmz-0006Wu-Ol for submit@debbugs.gnu.org; Tue, 25 Oct 2011 05:59:21 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIdmy-0001Q5-KW for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 05:59:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIdmx-0006Sv-G7 for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 05:59:20 -0400 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:53354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIdmx-0006SX-7P for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2011 05:59:19 -0400 Original-Received: by eye4 with SMTP id 4so241023eye.0 for ; Tue, 25 Oct 2011 02:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=5CeBmLwORHwY21WtjmKoiUDKdVRjvj7mwYZF0BINccA=; b=i06C24yLHaeJTRpDlyQI4A2K7YgCgaVJGqbQosCqHD91S/XkAgBXE7UZ0pRgJRMWzy zufq/kXU8e9Kiab+hIJ56255O0Lk/VQ5wgK2WNXb0XbXvLPiGgP9TcAdjIieMEnKOa0P yvUM9rL7xvSiXPJe3nXOQd5QbJZf1rCRrnr4Y= Original-Received: by 10.213.14.134 with SMTP id g6mr1280094eba.34.1319536757020; Tue, 25 Oct 2011 02:59:17 -0700 (PDT) Original-Received: from nil (exit1.torproxy.org. [89.187.142.208]) by mx.google.com with ESMTPS id e62sm41625532eee.10.2011.10.25.02.59.10 (version=SSLv3 cipher=OTHER); Tue, 25 Oct 2011 02:59:16 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (berkeley-unix) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 25 Oct 2011 06:02:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53111 Archived-At: During build `make' may be available under an alternative name on non-GNU systems. Try to use MAKE from environment like AC_PROG_MAKE_SET before falling back to `make', ${MAKE} is already used for epaths.h. At least, MAKE=gmake is used by FreeBSD/OpenBSD ports. forwarding http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/160986 === modified file 'configure.in' --- configure.in 2011-10-24 02:40:23 +0000 +++ configure.in 2011-10-25 09:10:22 +0000 @@ -1374,7 +1374,7 @@ dnl check for GNU Make if we have GCC an if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then AC_MSG_CHECKING([whether we are using GNU Make]) HAVE_GNU_MAKE=no - testval=`make --version 2>/dev/null | grep 'GNU Make'` + testval=`${MAKE-make} --version 2>/dev/null | grep 'GNU Make'` if test "x$testval" != x; then HAVE_GNU_MAKE=yes else -- In GNU Emacs 24.0.90.1 (amd64-portbld-freebsd9.9) of 2011-10-25 on hidden configured using `configure '--localstatedir=/var' '--without-x' '--without-dbus' '--without-gnutls' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd9.9' 'build_alias=amd64-portbld-freebsd9.9' 'CC=cc' 'CFLAGS=-O2 -pipe' 'LDFLAGS= -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib' 'CPPFLAGS=-I/usr/local/include' 'CPP=cpp''