Mercurial > audlegacy
changeset 4599:19add87af18a
Fix a autoconf warning about cached variable identifier.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 01 Jun 2008 14:55:15 +0300 |
parents | aec8fc12e075 |
children | e5119c001bb4 |
files | acinclude.m4 |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/acinclude.m4 Sat May 31 14:19:52 2008 +0200 +++ b/acinclude.m4 Sun Jun 01 14:55:15 2008 +0300 @@ -82,18 +82,18 @@ dnl ** Check for GNU make AC_DEFUN([AUD_CHECK_GNU_MAKE],[ - AC_CACHE_CHECK([for GNU make],aud_gnu_make_command,[ - aud_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 - aud_gnu_make_command="$a" + cv_gnu_make_command="$a" break fi done ]) - if test "x$aud_gnu_make_command" != "x" ; then - MAKE="$aud_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