[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9868: 24.0.90; autodepend: check environment before using `make'
From: |
Nali Toja |
Subject: |
bug#9868: 24.0.90; autodepend: check environment before using `make' |
Date: |
Tue, 25 Oct 2011 09:57:11 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (berkeley-unix) |
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''
- bug#9868: 24.0.90; autodepend: check environment before using `make',
Nali Toja <=