mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 04:16:43 +00:00
print a warning at the end of the configure script if the version of GNU Make
in use is a version earlier than 3.81 This is for file :) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -84,10 +84,14 @@ fi
|
||||
AC_DEFUN(
|
||||
[AST_CHECK_GNU_MAKE], [AC_CACHE_CHECK(for GNU make, GNU_MAKE,
|
||||
GNU_MAKE='Not Found' ;
|
||||
GNU_MAKE_VERSION_MAJOR=0 ;
|
||||
GNU_MAKE_VERSION_MINOR=0 ;
|
||||
for a in make gmake gnumake ; do
|
||||
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'.'`
|
||||
break;
|
||||
fi
|
||||
done ;
|
||||
|
||||
Reference in New Issue
Block a user