]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtoolize: ignore trailing junk on scriptversion line.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 5 May 2009 05:39:16 +0000 (07:39 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 5 May 2009 05:39:16 +0000 (07:39 +0200)
* libtoolize.m4sh (func_install_update): Ignore semi-colon or
comment-sign and all following characters when parsing a
`scriptversion' line in one of the auxiliary scripts; recent
Automake-provided script have a stylized comment to induce
Emacs to use UTC.
Exposed by the `libtoolize config files serial update' test.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
libtoolize.m4sh

index 4e3ceb2fc4fc6df7632ddc3113a01ea3e9367636..862860ad9f8f6910774c2bfa3f68f6b42a9dd8ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-05-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       libtoolize: ignore trailing junk on scriptversion line.
+       * libtoolize.m4sh (func_install_update): Ignore semi-colon or
+       comment-sign and all following characters when parsing a
+       `scriptversion' line in one of the auxiliary scripts; recent
+       Automake-provided script have a stylized comment to induce
+       Emacs to use UTC.
+       Exposed by the `libtoolize config files serial update' test.
+
 2009-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Skip localization test when setlocale is not functional.
index 27f17a7546af987583b30325661d61e0875b3445..bff700a5c1ef5e75473b498771bb4fd96220496a 100644 (file)
@@ -1021,6 +1021,7 @@ func_install_update ()
     $opt_debug
     my_sed_install='
        /^scriptversion='\''*[0-9][1-9.-]*'\''*/ {
+           s,[#;].*,,
            s,^scriptversion='\''*\([0-9.-]*\)'\''*,\1,
            s/-/./g
            p