X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fax_append_to_file.m4;h=fca5708372eebc56287d05454e9eeaede852ce7d;hb=24d604ebd655a7e3afe584d3dc4a25f5eca372c3;hp=f9f54e088db1608746bfe926a7fd6b222e4ee549;hpb=3166705c1046e69f9c21b641120dc839f39b0e25;p=m6w6%2Flibmemcached diff --git a/m4/ax_append_to_file.m4 b/m4/ax_append_to_file.m4 index f9f54e08..fca57083 100644 --- a/m4/ax_append_to_file.m4 +++ b/m4/ax_append_to_file.m4 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_append_to_file.html +# https://www.gnu.org/software/autoconf-archive/ax_append_to_file.html # =========================================================================== # # SYNOPSIS @@ -19,9 +19,9 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_APPEND_TO_FILE],[ AC_REQUIRE([AX_FILE_ESCAPES]) -printf "$2\n" >> "$1" +printf "%s" "$2" >> "$1" ])