File tree Expand file tree Collapse file tree 4 files changed +130
-0
lines changed
Expand file tree Collapse file tree 4 files changed +130
-0
lines changed Original file line number Diff line number Diff line change 1+ # ===========================================================================
2+ # https://www.gnu.org/software/autoconf-archive/ax_ac_append_to_file.html
3+ # ===========================================================================
4+ #
5+ # SYNOPSIS
6+ #
7+ # AX_AC_APPEND_TO_FILE([FILE],[DATA])
8+ #
9+ # DESCRIPTION
10+ #
11+ # Appends the specified data to the specified Autoconf is run. If you want
12+ # to append to a file when configure is run use AX_APPEND_TO_FILE instead.
13+ #
14+ # LICENSE
15+ #
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 10
24+
25+ AC_DEFUN ( [ AX_AC_APPEND_TO_FILE ] ,[
26+ AC_REQUIRE ( [ AX_FILE_ESCAPES ] )
27+ m4_esyscmd (
28+ AX_FILE_ESCAPES
29+ [
30+ printf "%s" "$2 " >> "$1 "
31+ ] )
32+ ] )
Original file line number Diff line number Diff line change 1+ # ===========================================================================
2+ # https://www.gnu.org/software/autoconf-archive/ax_ac_print_to_file.html
3+ # ===========================================================================
4+ #
5+ # SYNOPSIS
6+ #
7+ # AX_AC_PRINT_TO_FILE([FILE],[DATA])
8+ #
9+ # DESCRIPTION
10+ #
11+ # Writes the specified data to the specified file when Autoconf is run. If
12+ # you want to print to a file when configure is run use AX_PRINT_TO_FILE
13+ # instead.
14+ #
15+ # LICENSE
16+ #
17+ # Copyright (c) 2009 Allan Caffee <allan.caffee@gmail.com>
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+
24+ # serial 10
25+
26+ AC_DEFUN ( [ AX_AC_PRINT_TO_FILE ] ,[
27+ m4_esyscmd (
28+ AC_REQUIRE ( [ AX_FILE_ESCAPES ] )
29+ [
30+ printf "%s" "$2 " > "$1 "
31+ ] )
32+ ] )
Original file line number Diff line number Diff line change 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+ ] )
Original file line number Diff line number Diff line change 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+ ] )
You can’t perform that action at this time.
0 commit comments