diff options
author | Tom Tromey <tromey@redhat.com> | 1997-03-19 07:42:37 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1997-03-19 07:42:37 +0000 |
commit | c1bf7cf1850526431765c461ef198375ffe7f0cb (patch) | |
tree | 3088d30bf5b4b770d7448e9ccdbabcbf2066a9c0 /m4/missing.m4 | |
parent | f8b80147fc2d9f91a8352dd26afb742f46cdaba5 (diff) | |
download | automake-c1bf7cf1850526431765c461ef198375ffe7f0cb.tar.gz |
last-minute fixes
Diffstat (limited to 'm4/missing.m4')
-rw-r--r-- | m4/missing.m4 | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/m4/missing.m4 b/m4/missing.m4 index 9e822762e..b3819c09f 100644 --- a/m4/missing.m4 +++ b/m4/missing.m4 @@ -4,8 +4,12 @@ dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) dnl The program must properly implement --version. AC_DEFUN(AM_MISSING_PROG, -[if $2 --version > /dev/null 2>&1; then - $1=$2 - else - $1="$3/missing $2" - fi]) +[AC_MSG_CHECKING(for working $2) +if $2 --version > /dev/null 2>&1; then + $1=$2 + AC_MSG_RESULT(found) +else + $1="$3/missing $2" + AC_MSG_RESULT(missing) +fi +AC_SUBST($1)]) |