Edit

kc3-lang/automake/m4/missing.m4

Branch :

  • Show log

    Commit

  • Author : Akim Demaille
    Date : 2001-10-15 07:52:52
    Hash : 21ba3236
    Message : * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH]) normally, what is wrong is that automake outputs a variable definition for it, hence... * automake.in (scan_one_autoconf_file): don't. * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted from... (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust. Use AC_CONFIG_COMMANDS. (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.

  • m4/missing.m4
  • #  -*- Autoconf -*-
    
    ## --------------------------------------------------------- ##
    ## Fake the existence of programs that GNU maintainers use.  ##
    ## --------------------------------------------------------- ##
    
    # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
    
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2, or (at your option)
    # any later version.
    
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    
    # You should have received a copy of the GNU General Public License
    # along with this program; if not, write to the Free Software
    # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    # 02111-1307, USA.
    
    # 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
    ])