Edit

kc3-lang/automake/m4/make.m4

Branch :

  • Show log

    Commit

  • Author : Pavel Roskin
    Date : 2001-02-06 15:03:59
    Hash : f8a4ccd9
    Message : * automake.in (handle_dependencies): Rename AM_INCLUDE to AMINCLUDE. * m4/make.m4 (AM_MAKE_INCLUDE): Likewise. * tests/exsource.test: Likewise.

  • m4/make.m4
  • # AM_MAKE_INCLUDE()
    # -----------------
    # Check to see how make treats includes.
    AC_DEFUN([AM_MAKE_INCLUDE],
    [am_make=${MAKE-make}
    # BSD make uses .include
    cat > confinc << 'END'
    doit:
    	@echo done
    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])
    AMINCLUDE='#'
    for am_inc in include .include; do
       echo "$am_inc confinc" > confmf
       if test "`$am_make -f confmf 2> /dev/null`" = "done"; then
          AMINCLUDE=$am_inc
          break
       fi
    done
    AC_SUBST(AMINCLUDE)
    AC_MSG_RESULT($AMINCLUDE)
    rm -f confinc confmf
    ])