Back to the Main Page.

ax_am_macros

Download the M4 Source.

Synopsis

AX_AM_MACROS

Version

1.1 (2005/01/20)     0.5.65   :   AM Support

Author

Tom Howard <tomhoward@users.sf.net>

Description

Adds support for macros that create automake rules. You must manually add the following line

   @INC_AMINCLUDE@

to your Makefile.am files.

M4 Source Code
AC_DEFUN([AX_AM_MACROS],
[
AC_MSG_NOTICE([adding automake macro support])
AMINCLUDE="aminclude.am"
AC_SUBST(AMINCLUDE)
AC_MSG_NOTICE([creating $AMINCLUDE])
AMINCLUDE_TIME=`date`
AX_PRINT_TO_FILE([$AMINCLUDE],[[
# generated automatically by configure from AX_AUTOMAKE_MACROS
# on $AMINCLUDE_TIME

]])

INC_AMINCLUDE="include \$(top_builddir)/$AMINCLUDE"
AC_SUBST(INC_AMINCLUDE)
])