summaryrefslogtreecommitdiff
path: root/m4/ax_add_am_macro_static.m4
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2019-04-17 15:18:42 +0000
committerSimon McVittie <smcv@collabora.com>2019-04-17 15:18:42 +0000
commit177ef29188c430e7e137e1d27e0b462a63190b4f (patch)
tree8cb2f854a945b2a8f4344a6b9a5c6e8babbc2796 /m4/ax_add_am_macro_static.m4
parent6ef67cff6ba26645f9cbe23ffb401f3d49a66429 (diff)
parentd9ef0226e2ff346f80c0c8ba1a0fec19c553b458 (diff)
downloaddbus-177ef29188c430e7e137e1d27e0b462a63190b4f.tar.gz
Merge branch '1-12-code-coverage' into 'dbus-1.12'
Adapt to API change in AX_CODE_COVERAGE version 28 See merge request dbus/dbus!108
Diffstat (limited to 'm4/ax_add_am_macro_static.m4')
-rw-r--r--m4/ax_add_am_macro_static.m428
1 files changed, 28 insertions, 0 deletions
diff --git a/m4/ax_add_am_macro_static.m4 b/m4/ax_add_am_macro_static.m4
new file mode 100644
index 00000000..6442d24b
--- /dev/null
+++ b/m4/ax_add_am_macro_static.m4
@@ -0,0 +1,28 @@
+# ===========================================================================
+# https://www.gnu.org/software/autoconf-archive/ax_add_am_macro_static.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+# AX_ADD_AM_MACRO_STATIC([RULE])
+#
+# DESCRIPTION
+#
+# Adds the specified rule to $AMINCLUDE.
+#
+# LICENSE
+#
+# Copyright (c) 2009 Tom Howard <tomhoward@users.sf.net>
+# Copyright (c) 2009 Allan Caffee <allan.caffee@gmail.com>
+#
+# Copying and distribution of this file, with or without modification, are
+# permitted in any medium without royalty provided the copyright notice
+# and this notice are preserved. This file is offered as-is, without any
+# warranty.
+
+#serial 8
+
+AC_DEFUN([AX_ADD_AM_MACRO_STATIC],[
+ AC_REQUIRE([AX_AM_MACROS_STATIC])
+ AX_AC_APPEND_TO_FILE(AMINCLUDE_STATIC,[$1])
+])