From 8c7a8352e3b27c51d6de2230118821385fc744f5 Mon Sep 17 00:00:00 2001 From: Alastair McKinstry Date: Mon, 21 Mar 2022 12:34:18 +0200 Subject: [PATCH] libtool: Change how version is derived Avoid duplication of '(GNU @PACKAGE@) @VERSION@' in multiple places by using '$scriptversion'. * libtoolize.in, build-aux/ltmain.in: Change version from '(GNU @PACKAGE@) @VERSION@' to '$scriptversion'. --- build-aux/ltmain.in | 2 +- libtoolize.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index 816b1ca3a..c5bdbe5d5 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -179,7 +179,7 @@ include the following information: compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu? $with_gnu_ld) - version: $progname (GNU @PACKAGE@) @VERSION@ + version: $progname $scriptversion automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` diff --git a/libtoolize.in b/libtoolize.in index 5940cc153..6c15aa57c 100644 --- a/libtoolize.in +++ b/libtoolize.in @@ -140,7 +140,7 @@ When reporting a bug, please describe a test case to reproduce it and include the following information: host-triplet: @host_triplet@ - version: $progname (GNU @PACKAGE@) @VERSION@ + version: $progname $scriptversion automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` -- 2.47.3