From: David MacKenzie Date: Thu, 14 Apr 1994 02:59:11 +0000 (+0000) Subject: (AC_SET_MAKE): Use $MAKE if defined, else "make". X-Git-Tag: fsf-origin~702 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6df95ed43b9e01a230e6d46bf01856919013e73e;p=thirdparty%2Fautoconf.git (AC_SET_MAKE): Use $MAKE if defined, else "make". --- diff --git a/acspecific.m4 b/acspecific.m4 index 48b19bbdd..9c4a3f29c 100644 --- a/acspecific.m4 +++ b/acspecific.m4 @@ -107,10 +107,10 @@ all: EOF changequote(,)dnl # GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `make -f conftestmake 2>/dev/null | grep temp=` +eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` changequote([,])dnl if test -n "$ac_maketemp"; then SET_MAKE= -else SET_MAKE='MAKE=make'; fi +else SET_MAKE="MAKE=${MAKE-make}"; fi AC_SUBST([SET_MAKE])dnl ])dnl dnl diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 48b19bbdd..9c4a3f29c 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -107,10 +107,10 @@ all: EOF changequote(,)dnl # GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `make -f conftestmake 2>/dev/null | grep temp=` +eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` changequote([,])dnl if test -n "$ac_maketemp"; then SET_MAKE= -else SET_MAKE='MAKE=make'; fi +else SET_MAKE="MAKE=${MAKE-make}"; fi AC_SUBST([SET_MAKE])dnl ])dnl dnl