Mercurial > audlegacy
changeset 4748:60d8d8f667ed
Use _cv_gnu_make_command instead of cv_gnu_make_command, because some
versions of Autoconf don't seem to like it.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 31 Jul 2008 00:32:43 +0300 |
parents | 0cc36efdbe07 |
children | b86e9f9663f4 |
files | acinclude.m4 |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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