Update with job builder.
[awesomized/libmemcached] / m4 / ax_am_macros.m4
1 # ===========================================================================
2 # http://www.gnu.org/software/autoconf-archive/ax_am_macros.html
3 # ===========================================================================
4 #
5 # SYNOPSIS
6 #
7 # AX_AM_MACROS
8 #
9 # DESCRIPTION
10 #
11 # Adds support for macros that create Make rules. You must manually add
12 # the following line
13 #
14 # @INC_AMINCLUDE@
15 #
16 # to your Makefile.in (or Makefile.am if you use Automake) files.
17 #
18 # LICENSE
19 #
20 # Copyright (c) 2009 Tom Howard <tomhoward@users.sf.net>
21 #
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
25 # warranty.
26
27 #serial 9
28
29 AC_DEFUN([AX_AM_MACROS],
30 [
31 AC_MSG_NOTICE([adding automake macro support])
32 AMINCLUDE="aminclude.am"
33 AC_SUBST(AMINCLUDE)
34 AC_MSG_NOTICE([creating $AMINCLUDE])
35 AMINCLUDE_TIME=`date`
36 AX_PRINT_TO_FILE([$AMINCLUDE],[[
37 # generated automatically by configure from AX_AUTOMAKE_MACROS
38 # on $AMINCLUDE_TIME
39
40 ]])
41
42 INC_AMINCLUDE="include \$(top_builddir)/$AMINCLUDE"
43 AC_SUBST(INC_AMINCLUDE)
44 ])