Edit

kc3-lang/automake/m4/mkdirp.m4

Branch :

  • Show log

    Commit

  • Author : Stefano Lattarini
    Date : 2012-02-23 19:36:20
    Hash : f8f22fea
    Message : m4: do not quote `like this', as per GCS recommendation This patch converts the files comprising the automake's own build system to the use of new quoting format 'like this' or "like this" rather than `like this'. * m4/auxdir.m4, m4/ccstdc.m4, m4/depend.m4, m4/depout.m4, m4/tar.m4, m4/init.m4, m4/maintainer.m4, m4/make.m4, m4/missing.m4, m4/vala.m4, m4/mkdirp.m4, m4/sanity.m4, m4/silent.m4, m4/strip.m4: Update and adjust quoting format throughout, in comments and diagnostic. Some minor related rewordings and reformatting since we are at it. Bump serial numbers.

  • m4/mkdirp.m4
  • ##                                                          -*- Autoconf -*-
    # Copyright (C) 2003-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.
    
    # serial 2
    
    # AM_PROG_MKDIR_P
    # ---------------
    # Check for 'mkdir -p'.
    AC_DEFUN([AM_PROG_MKDIR_P],
    [AC_PREREQ([2.60])dnl
    AC_REQUIRE([AC_PROG_MKDIR_P])dnl
    dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
    dnl while keeping a definition of mkdir_p for backward compatibility.
    dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
    dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
    dnl Makefile.ins that do not define MKDIR_P, so we do our own
    dnl adjustment using top_builddir (which is defined more often than
    dnl MKDIR_P).
    AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
    case $mkdir_p in
      [[\\/$]]* | ?:[[\\/]]*) ;;
      */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
    esac
    ])