1 # ===========================================================================
2 # http://www.gnu.org/software/autoconf-archive/ax_am_macros.html
3 # ===========================================================================
11 # Adds support for macros that create Make rules. You must manually add
16 # to your Makefile.in (or Makefile.am if you use Automake) files.
20 # Copyright (c) 2009 Tom Howard <tomhoward@users.sf.net>
22 # Copying and distribution of this file, with or without modification, are
23 # permitted in any medium without royalty provided the copyright notice
24 # and this notice are preserved. This file is offered as-is, without any
29 AC_DEFUN([AX_AM_MACROS],
31 AC_MSG_NOTICE([adding automake macro support])
32 AMINCLUDE="aminclude.am"
34 AC_MSG_NOTICE([creating $AMINCLUDE])
36 AX_PRINT_TO_FILE([$AMINCLUDE],[[
37 # generated automatically by configure from AX_AUTOMAKE_MACROS
42 INC_AMINCLUDE="include \$(top_builddir)/$AMINCLUDE"
43 AC_SUBST(INC_AMINCLUDE)