From 63e46b2f61e1a3f81679db1f8209a2ee6993d20b Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 2 Aug 2021 21:53:42 -0700 Subject: [PATCH] configure.ac: fix trailing newline issue Reported at https://wimlib.net/forums/viewtopic.php?f=1&t=562. m4_esyscmd() needs to be m4_esyscmd_s(), so that the version string doesn't get a trailing newline. It works for me either way, but that's probably because in autoconf 2.70, AC_INIT started trimming extra whitespace from its arguments (as per the release notes at https://lists.gnu.org/archive/html/autotools-announce/2020-12/msg00001.html). So presumably this fix is needed for older versions of autoconf. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a883d7eb..2b0650f8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ ############################################################################### -AC_INIT([wimlib], m4_esyscmd([tools/get-version-number]), +AC_INIT([wimlib], m4_esyscmd_s([tools/get-version-number]), [https://wimlib.net/forums/]) AC_CONFIG_SRCDIR([src/wim.c]) AC_CONFIG_MACRO_DIR([m4]) -- 2.43.0