diff --git a/acinclude.m4 b/acinclude.m4 index 521b1801435d0f6de6b280f8b23864d763e17b18..0de18fc10568ceeb257aecd957b37ad15ba22b23 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -90,8 +90,8 @@ AC_DEFUN( if test -z "$a" ; then continue ; fi ; if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then GNU_MAKE=$a ; - GNU_MAKE_VERSION_MAJOR=`$GNU_MAKE --version | grep "GNU Make" | cut -f3 -d' ' | cut -f1 -d'.'` - GNU_MAKE_VERSION_MINOR=`$GNU_MAKE --version | grep "GNU Make" | cut -f2 -d'.'` + GNU_MAKE_VERSION_MAJOR=`$GNU_MAKE --version | grep "GNU Make" | cut -f3 -d' ' | cut -f1 -d'.'` + GNU_MAKE_VERSION_MINOR=`$GNU_MAKE --version | grep "GNU Make" | cut -f2 -d'.'` break; fi done ;