Edit

kc3-lang/automake/m4/missing.m4

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 2001-08-23 03:57:04
    Hash : a1782d39
    Message : 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be> * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.

  • m4/missing.m4
  • ## --------------------------------------------------------- ##
    ## Fake the existence of programs that GNU maintainers use.  ##
    ## --------------------------------------------------------- ##
    
    # serial 2
    
    # AM_MISSING_PROG(NAME, PROGRAM)
    # ------------------------------
    AC_DEFUN([AM_MISSING_PROG],
    [AC_REQUIRE([AM_MISSING_HAS_RUN])
    $1=${$1-"${am_missing_run}$2"}
    AC_SUBST($1)])
    
    
    # AM_MISSING_HAS_RUN
    # ------------------
    # Define MISSING if not defined so far and test if it supports --run.
    # If it does, set am_missing_run to use it, otherwise, to nothing.
    AC_DEFUN([AM_MISSING_HAS_RUN],
    [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
    # Use eval to expand $SHELL
    if eval "$MISSING --run true"; then
      am_missing_run="$MISSING --run "
    else
      am_missing_run=
      am_backtick='`'
      AC_MSG_WARN([${am_backtick}missing' script is too old or missing])
    fi
    ])