m4: restore AX_APPEND_TO_FILE_BEHAVIOR
authorMichael Wallner <mike@php.net>
Thu, 9 Jan 2020 19:35:48 +0000 (20:35 +0100)
committerMichael Wallner <mike@php.net>
Thu, 9 Jan 2020 19:35:48 +0000 (20:35 +0100)
m4/ax_append_to_file.m4

index fca5708372eebc56287d05454e9eeaede852ce7d..6de3aa3fd6e1072a736bf82f140c3adecc8d8c42 100644 (file)
@@ -19,9 +19,9 @@
 #   and this notice are preserved. This file is offered as-is, without any
 #   warranty.
 
-#serial 9
+#serial 10
 
 AC_DEFUN([AX_APPEND_TO_FILE],[
 AC_REQUIRE([AX_FILE_ESCAPES])
-printf "%s" "$2" >> "$1"
+printf "%s\n" "$2" >> "$1"
 ])