From: Nali Toja Date: Tue, 25 Oct 2011 16:41:26 +0000 (-0700) Subject: * configure.in (HAVE_GNU_MAKE): Respect MAKE env-var. (tiny change) X-Git-Tag: emacs-pretest-24.0.91~37^2~1^2~20 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d2eaf3e40d0708a16fa48538173ef635ee6a17e0;p=emacs.git * configure.in (HAVE_GNU_MAKE): Respect MAKE env-var. (tiny change) Fixes: debbugs:9868 --- diff --git a/ChangeLog b/ChangeLog index ade71ae09a7..2cd3f8eef85 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-10-25 Nali Toja (tiny change) + + * configure.in (HAVE_GNU_MAKE): Respect MAKE env-var. (Bug#9868) + 2011-10-24 Paul Eggert * configure.in (LIB_PTHREAD): Prepend -lpthread to LIBS (Bug#9852) diff --git a/configure.in b/configure.in index 3040c13e683..ab5f74573f0 100644 --- a/configure.in +++ b/configure.in @@ -1374,7 +1374,7 @@ dnl check for GNU Make if we have GCC and autodepend is on. 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