Edit

kc3-lang/automake/m4/missing.m4

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1997-03-19 07:42:37
    Hash : c1bf7cf1
    Message : last-minute fixes

  • m4/missing.m4
  • ## --------------------------------------------------------- ##
    ## Fake the existence of programs that GNU maintainers use.  ##
    ## --------------------------------------------------------- ##
    dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
    dnl The program must properly implement --version.
    AC_DEFUN(AM_MISSING_PROG,
    [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)])