Edit

kc3-lang/automake/m4/make.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/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.
    
    # 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
    ])