summaryrefslogtreecommitdiff
path: root/m4/ax_ac_append_to_file.m4
diff options
context:
space:
mode:
authorBastien Roucariès <bastien.roucaries+debian@gmail.com>2018-03-18 21:44:09 +0100
committerBastien Roucariès <bastien.roucaries+debian@gmail.com>2018-03-18 22:23:50 +0100
commitb5a2d69f7a7e0133733673586231b88464a98d58 (patch)
tree01a616915e1230bc9adebb0f65b1499ef18f97f1 /m4/ax_ac_append_to_file.m4
parent68679533d3b56c701c2e3dc6b6fd54c41057601e (diff)
downloadautoconf-archive-b5a2d69f7a7e0133733673586231b88464a98d58.tar.gz
Use AX_ADD_AM_MACRO_STATIC
Avoid some error in case of no coverage included
Diffstat (limited to 'm4/ax_ac_append_to_file.m4')
-rw-r--r--m4/ax_ac_append_to_file.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_ac_append_to_file.m4 b/m4/ax_ac_append_to_file.m4
index 023a647..242b3d5 100644
--- a/m4/ax_ac_append_to_file.m4
+++ b/m4/ax_ac_append_to_file.m4
@@ -20,13 +20,13 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 9
+#serial 10
AC_DEFUN([AX_AC_APPEND_TO_FILE],[
AC_REQUIRE([AX_FILE_ESCAPES])
m4_esyscmd(
AX_FILE_ESCAPES
[
-printf "$2" >> "$1"
+printf "%s" "$2" >> "$1"
])
])