Edit

kc3-lang/automake/m4/make.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/make.m4
  • # Check to see how 'make' treats includes.	            -*- Autoconf -*-
    
    # Copyright (C) 2001-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 5
    
    # AM_MAKE_INCLUDE()
    # -----------------
    # Check to see how make treats includes.
    AC_DEFUN([AM_MAKE_INCLUDE],
    [am_make=${MAKE-make}
    cat > confinc << 'END'
    am__doit:
    	@echo this is the am__doit target
    .PHONY: am__doit
    END
    # If we don't find an include directive, just comment out the code.
    AC_MSG_CHECKING([for style of include used by $am_make])
    am__include="#"
    am__quote=
    _am_result=none
    # First try GNU make style include.
    echo "include confinc" > confmf
    # Ignore all kinds of additional output from 'make'.
    case `$am_make -s -f confmf 2> /dev/null` in #(
    *the\ am__doit\ target*)
      am__include=include
      am__quote=
      _am_result=GNU
      ;;
    esac
    # Now try BSD make style include.
    if test "$am__include" = "#"; then
       echo '.include "confinc"' > confmf
       case `$am_make -s -f confmf 2> /dev/null` in #(
       *the\ am__doit\ target*)
         am__include=.include
         am__quote="\""
         _am_result=BSD
         ;;
       esac
    fi
    AC_SUBST([am__include])
    AC_SUBST([am__quote])
    AC_MSG_RESULT([$_am_result])
    rm -f confinc confmf
    ])