[asterisk-commits] russell: trunk r40280 - /trunk/acinclude.m4

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Aug 17 12:38:16 MST 2006


Author: russell
Date: Thu Aug 17 14:38:15 2006
New Revision: 40280

URL: http://svn.digium.com/view/asterisk?rev=40280&view=rev
Log:
a lot of systems use GNU Make 3.81beta4, so only consider the first two characters
in the minor part of the version string

Modified:
    trunk/acinclude.m4

Modified: trunk/acinclude.m4
URL: http://svn.digium.com/view/asterisk/trunk/acinclude.m4?rev=40280&r1=40279&r2=40280&view=diff
==============================================================================
--- trunk/acinclude.m4 (original)
+++ trunk/acinclude.m4 Thu Aug 17 14:38:15 2006
@@ -91,7 +91,7 @@
       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 ;



More information about the asterisk-commits mailing list