diff --git a/configure b/configure index 4681d20921ea..ef96af60fcbd 100755 --- a/configure +++ b/configure @@ -3623,7 +3623,7 @@ then fi rm -f dummy.mk echo 'all: ; @echo $(MAKE_VERSION)' > dummy.mk -_make_vers=`$MAKE -f dummy.mk all 2>/dev/null` +_make_vers=`$MAKE --no-print-directory -f dummy.mk all 2>/dev/null` rm -f dummy.mk _MAKE_MAJOR_VERSION=`echo $_make_vers | $AWK -F\. '{ print $1 }'` _MAKE_MINOR_VERSION=`echo $_make_vers | $AWK -F\. '{ print $2 }'` diff --git a/configure.in b/configure.in index 1fc1577a51ca..2c4af38047cf 100644 --- a/configure.in +++ b/configure.in @@ -436,7 +436,7 @@ fi dnl Now exit if version if < MAKE_VERSION rm -f dummy.mk echo 'all: ; @echo $(MAKE_VERSION)' > dummy.mk -_make_vers=`$MAKE -f dummy.mk all 2>/dev/null` +_make_vers=`$MAKE --no-print-directory -f dummy.mk all 2>/dev/null` rm -f dummy.mk _MAKE_MAJOR_VERSION=`echo $_make_vers | $AWK -F\. '{ print $1 }'` _MAKE_MINOR_VERSION=`echo $_make_vers | $AWK -F\. '{ print $2 }'`