From: Russell Bryant Date: Thu, 17 Aug 2006 19:38:15 +0000 (+0000) Subject: a lot of systems use GNU Make 3.81beta4, so only consider the first two characters X-Git-Tag: 1.4.0-beta1~374 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=98e1cbb95752368cc2b98c3b84678cb2f9a2e868;p=thirdparty%2Fasterisk.git a lot of systems use GNU Make 3.81beta4, so only consider the first two characters in the minor part of the version string git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40280 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/acinclude.m4 b/acinclude.m4 index 0de18fc105..34eefe82b5 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -91,7 +91,7 @@ AC_DEFUN( 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_MINOR=`$GNU_MAKE --version | grep "GNU Make" | cut -f2 -d'.' | cut -c1-2` break; fi done ;