Edit

kc3-lang/automake/m4/missing.m4

Branch :

  • Show log

    Commit

  • Author : Stefano Lattarini
    Date : 2012-07-14 18:49:25
    Hash : 6e3c0b92
    Message : m4: get rid of "# serial" lines The "#serial" lines are only considered by aclocal for the system-wide third-party '.m4' files, not for the Automake-provided ones. So they serve no real purpose in the Automake '.m4' files. In addition, now that we use git and topic branches, and that we are also writing the Automake-NG fork, the "#serial" lines are becoming more and more unreliable (e.g., different version of the same file in different branches can easily end up having the same serial numbers). So let's just nuke all the "#serial" lines. See also automake bug#11932. * m4/*.m4: All "# serial" lines removed. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>

  • m4/missing.m4
  • # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
    
    # Copyright (C) 1997-2012 Free Software Foundation, Inc.
    #
    # This file is free software; the Free Software Foundation
    # gives unlimited permission to copy and/or distribute it,
    # with or without modifications, as long as this notice is preserved.
    
    # 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
    AC_REQUIRE_AUX_FILE([missing])dnl
    if test x"${MISSING+set}" != xset; then
      case $am_aux_dir in
      *\ * | *\	*)
        MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
      *)
        MISSING="\${SHELL} $am_aux_dir/missing" ;;
      esac
    fi
    # Use eval to expand $SHELL
    if eval "$MISSING --run true"; then
      am_missing_run="$MISSING --run "
    else
      am_missing_run=
      AC_MSG_WARN(['missing' script is too old or missing])
    fi
    ])