Skip to content

Commit 1793f01

Browse files
committed
build: require AX_ADD_AM_MACRO_STATIC gh-11
1 parent 1db7f0f commit 1793f01

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

m4/ax_add_am_macro_static.m4

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# ===========================================================================
2+
# https://www.gnu.org/software/autoconf-archive/ax_add_am_macro_static.html
3+
# ===========================================================================
4+
#
5+
# SYNOPSIS
6+
#
7+
# AX_ADD_AM_MACRO_STATIC([RULE])
8+
#
9+
# DESCRIPTION
10+
#
11+
# Adds the specified rule to $AMINCLUDE.
12+
#
13+
# LICENSE
14+
#
15+
# Copyright (c) 2009 Tom Howard <tomhoward@users.sf.net>
16+
# Copyright (c) 2009 Allan Caffee <allan.caffee@gmail.com>
17+
#
18+
# Copying and distribution of this file, with or without modification, are
19+
# permitted in any medium without royalty provided the copyright notice
20+
# and this notice are preserved. This file is offered as-is, without any
21+
# warranty.
22+
23+
#serial 8
24+
25+
AC_DEFUN([AX_ADD_AM_MACRO_STATIC],[
26+
AC_REQUIRE([AX_AM_MACROS_STATIC])
27+
AX_AC_APPEND_TO_FILE(AMINCLUDE_STATIC,[$1])
28+
])

m4/ax_am_macros_static.m4

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# ===========================================================================
2+
# https://www.gnu.org/software/autoconf-archive/ax_am_macros_static.html
3+
# ===========================================================================
4+
#
5+
# SYNOPSIS
6+
#
7+
# AX_AM_MACROS_STATIC
8+
#
9+
# DESCRIPTION
10+
#
11+
# Adds support for macros that create Automake rules. You must manually
12+
# add the following line
13+
#
14+
# include $(top_srcdir)/aminclude_static.am
15+
#
16+
# to your Makefile.am files.
17+
#
18+
# LICENSE
19+
#
20+
# Copyright (c) 2009 Tom Howard <tomhoward@users.sf.net>
21+
# Copyright (c) 2009 Allan Caffee <allan.caffee@gmail.com>
22+
#
23+
# Copying and distribution of this file, with or without modification, are
24+
# permitted in any medium without royalty provided the copyright notice
25+
# and this notice are preserved. This file is offered as-is, without any
26+
# warranty.
27+
28+
#serial 11
29+
30+
AC_DEFUN([AMINCLUDE_STATIC],[aminclude_static.am])
31+
32+
AC_DEFUN([AX_AM_MACROS_STATIC],
33+
[
34+
AX_AC_PRINT_TO_FILE(AMINCLUDE_STATIC,[
35+
# ]AMINCLUDE_STATIC[ generated automatically by Autoconf
36+
# from AX_AM_MACROS_STATIC on ]m4_esyscmd([LC_ALL=C date])[
37+
])
38+
])

0 commit comments

Comments
 (0)