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'.
This commit is contained in:
Alastair McKinstry 2022-03-21 12:34:18 +02:00 committed by Ileana Dumitrescu
parent 8342fed94a
commit 4e6ccefb94
No known key found for this signature in database
GPG Key ID: 6570EA01146F7354
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ include the following information:
compiler: $LTCC compiler: $LTCC
compiler flags: $LTCFLAGS compiler flags: $LTCFLAGS
linker: $LD (gnu? $with_gnu_ld) linker: $LD (gnu? $with_gnu_ld)
version: $progname (GNU @PACKAGE@) @VERSION@ version: $progname $scriptversion
automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`

View File

@ -140,7 +140,7 @@ When reporting a bug, please describe a test case to reproduce it and
include the following information: include the following information:
host-triplet: @host_triplet@ host-triplet: @host_triplet@
version: $progname (GNU @PACKAGE@) @VERSION@ version: $progname $scriptversion
automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`