commit 277e3cee1b5c31e221b2bfd4592d09c41a9a2226
Author: Oswald Buddenhagen <o...@users.sf.net>
Date:   Mon Jan 13 13:09:18 2025 +0100

    explicitly strip newline from contents of VERSION
    
    while m4 1.4.19 + autoconf 2.72 from my debian unstable drop the
    trailing newline automatically, m4 1.4.18 + autoconf 2.69 shipped
    with ubuntu 20.4 don't, leading to an invalid configure script.
    
    reported and verified by Donat Wegner <dm...@web.de>.

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 7f1fc6e..8c46b8b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@
 dnl SPDX-License-Identifier: GPL-2.0-or-later
 
 m4_syscmd([./version.sh])
-AC_INIT([isync], m4_sinclude([VERSION]))
+AC_INIT([isync], m4_chomp(m4_sinclude([VERSION])))
 AC_CONFIG_HEADERS([autodefs.h])
 
 AC_CANONICAL_TARGET


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to