# HG changeset patch # User Matti Hamalainen # Date 1217453563 -10800 # Node ID 60d8d8f667edc4525f57e75de3d21d27fb938b4a # Parent 0cc36efdbe0716f2d3449e4f6d0fa949834507d2 Use _cv_gnu_make_command instead of cv_gnu_make_command, because some versions of Autoconf don't seem to like it. diff -r 0cc36efdbe07 -r 60d8d8f667ed acinclude.m4 --- a/acinclude.m4 Wed Jul 30 17:15:13 2008 +0300 +++ b/acinclude.m4 Thu Jul 31 00:32:43 2008 +0300 @@ -91,18 +91,18 @@ dnl ** Check for GNU make AC_DEFUN([AUD_CHECK_GNU_MAKE],[ - AC_CACHE_CHECK([for GNU make],cv_gnu_make_command,[ - cv_gnu_make_command="" + AC_CACHE_CHECK([for GNU make],_cv_gnu_make_command,[ + _cv_gnu_make_command="" for a in "$MAKE" make gmake gnumake; do test "x$a" = "x" && continue if ( sh -c "$a --version" 2>/dev/null | grep "GNU Make" >/dev/null ) ; then - cv_gnu_make_command="$a" + _cv_gnu_make_command="$a" break fi done ]) - if test "x$cv_gnu_make_command" != "x" ; then - MAKE="$cv_gnu_make_command" + if test "x$_cv_gnu_make_command" != "x" ; then + MAKE="$_cv_gnu_make_command" else AC_MSG_ERROR([** GNU make not found. If it is installed, try setting MAKE environment variable. **]) fi