GNU bug report logs - #9868
24.0.90; autodepend: check environment before using `make'

Previous Next

Package: emacs;

Reported by: Nali Toja <nalitoja <at> gmail.com>

Date: Tue, 25 Oct 2011 10:02:01 UTC

Severity: normal

Found in version 24.0.90

Fixed in version 24.0.91

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nali Toja <nalitoja <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.90; autodepend: check environment before using `make'
Date: Tue, 25 Oct 2011 09:57:11 +0000
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''




This bug report was last modified 13 years and 269 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.