ax_add_am_macro.m4 898 B

1234567891011121314151617181920212223242526272829
  1. # ===========================================================================
  2. # https://www.gnu.org/software/autoconf-archive/ax_add_am_macro.html
  3. # ===========================================================================
  4. #
  5. # SYNOPSIS
  6. #
  7. # AX_ADD_AM_MACRO([RULE])
  8. #
  9. # DESCRIPTION
  10. #
  11. # Adds the specified rule to $AMINCLUDE. This macro will only work
  12. # properly with implementations of Make which allow include statements.
  13. # See also AX_ADD_AM_MACRO_STATIC.
  14. #
  15. # LICENSE
  16. #
  17. # Copyright (c) 2009 Tom Howard <tomhoward@users.sf.net>
  18. #
  19. # Copying and distribution of this file, with or without modification, are
  20. # permitted in any medium without royalty provided the copyright notice
  21. # and this notice are preserved. This file is offered as-is, without any
  22. # warranty.
  23. #serial 10
  24. AC_DEFUN([AX_ADD_AM_MACRO],[
  25. AC_REQUIRE([AX_AM_MACROS])
  26. AX_APPEND_TO_FILE([$AMINCLUDE],[$1])
  27. ])