diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-17 19:38:15 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-17 19:38:15 +0000 |
commit | 2e0757504bf41b46ebb3686b53c462b9fd73caa7 (patch) | |
tree | 8ad61abedb388c44c9795996b0ac2cdb8d698ffd /acinclude.m4 | |
parent | d6947b4515acc28c98b4a4f9c577d330ca3b4368 (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@40280 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 0de18fc10..34eefe82b 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 ; |