X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=m4%2Fax_append_to_file.m4;h=6de3aa3fd6e1072a736bf82f140c3adecc8d8c42;hb=8c84f5e265f1fc68681f0856a7d96fa8aa034e80;hp=c88affb46caf15bfe110eff9f4dda7d41e2cd997;hpb=115086e2c392e3b5cb2c6510b25a530520b435da;p=awesomized%2Flibmemcached diff --git a/m4/ax_append_to_file.m4 b/m4/ax_append_to_file.m4 index c88affb4..6de3aa3f 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 7 +#serial 10 AC_DEFUN([AX_APPEND_TO_FILE],[ AC_REQUIRE([AX_FILE_ESCAPES]) -printf "$2" >> "$1" +printf "%s\n" "$2" >> "$1" ])