diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-03-10 22:02:18 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-03-10 22:02:18 +0000 |
commit | 1dfbe11d44775a8b3683c87744136f9988cbaa53 (patch) | |
tree | 839ac6d9813b3866bbe377b0b77177a30f70684a /configure | |
parent | 7a8aa79199b65ea7a90b62b1ab044f8d64e2e1f3 (diff) |
Make things happier when using autoconf 2.62+
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@180941 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Revision: 164343 . +# From configure.ac Revision: 177160 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for asterisk 1.4. # @@ -6031,7 +6031,6 @@ else done echo "$ac_script" | sed 99q >conftest.sed $as_unset ac_script || ac_script= - # Extract the first word of "sed gsed" to use in msg output if test -z "$SED"; then set dummy sed gsed; ac_prog_name=$2 @@ -6458,31 +6457,32 @@ fi { echo "$as_me:$LINENO: checking for GNU make" >&5 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; } -if test "${GNU_MAKE+set}" = set; then +if test "${ac_cv_GNU_MAKE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - GNU_MAKE='Not Found' ; - GNU_MAKE_VERSION_MAJOR=0 ; - GNU_MAKE_VERSION_MINOR=0 ; + ac_cv_GNU_MAKE='Not Found' ; + ac_cv_GNU_MAKE_VERSION_MAJOR=0 ; + ac_cv_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'.' | cut -c1-2` + ac_cv_GNU_MAKE=$a ; + ac_cv_GNU_MAKE_VERSION_MAJOR=`$ac_cv_GNU_MAKE --version | grep "GNU Make" | cut -f3 -d' ' | cut -f1 -d'.'` + ac_cv_GNU_MAKE_VERSION_MINOR=`$ac_cv_GNU_MAKE --version | grep "GNU Make" | cut -f2 -d'.' | cut -c1-2` break; fi done ; fi -{ echo "$as_me:$LINENO: result: $GNU_MAKE" >&5 -echo "${ECHO_T}$GNU_MAKE" >&6; } ; -if test "x$GNU_MAKE" = "xNot Found" ; then +{ echo "$as_me:$LINENO: result: $ac_cv_GNU_MAKE" >&5 +echo "${ECHO_T}$ac_cv_GNU_MAKE" >&6; } ; +if test "x$ac_cv_GNU_MAKE" = "xNot Found" ; then { { echo "$as_me:$LINENO: error: *** Please install GNU make. It is required to build Asterisk!" >&5 echo "$as_me: error: *** Please install GNU make. It is required to build Asterisk!" >&2;} { (exit 1); exit 1; }; } exit 1 fi +GNU_MAKE=$ac_cv_GNU_MAKE |