]> Savannah Git Hosting - gnulib.git/commitdiff
libposix: version filter script was adding a newline
authorGary V. Vaughan <gary@gnu.org>
Wed, 8 Dec 2010 13:59:59 +0000 (20:59 +0700)
committerGary V. Vaughan <gary@gnu.org>
Wed, 8 Dec 2010 13:59:59 +0000 (20:59 +0700)
* libposix/configure.ac (AC_INIT): Use the output of
git-version-gen unmodified, os per other GNU projects...
otherwise the spurious newline added to the version number
breaks operation of the configure script (tested with
Autoconf-2.68).
* libposix/mk-tarball: Remove the filter here too, otherwise
we'll end up with two conflicting version numbers in the same
release!

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
ChangeLog
libposix/configure.ac
libposix/mk-tarball

index 5f1f5cc02e13b5e21c072568c2fa45603876301c..91f772f78aaa506633118050bdca9f7607b8abfb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2010-12-07  Gary V. Vaughan  <gary@gnu.org>
+
+       libposix: version filter script was adding a newline
+       * libposix/configure.ac (AC_INIT): Use the output of
+       git-version-gen unmodified, os per other GNU projects...
+       otherwise the spurious newline added to the version number
+       breaks operation of the configure script (tested with
+       Autoconf-2.68).
+       * libposix/mk-tarball: Remove the filter here too, otherwise
+       we'll end up with two conflicting version numbers in the same
+       release!
+
 2010-11-17  Bruce Korb  <bkorb@gnu.org>
 
        * libposix/lib/Makefile.am (lpx-config.h): generate the new header
index 455b8574d9845f6454967ab74bdf1e7cac98083d..2d9809118c881e03c5e45d016fa02386d6016033 100644 (file)
@@ -1,6 +1,5 @@
 AC_INIT([GNU libposix],
-    m4_esyscmd([./git-version-gen .tarball-version | \
-       sed 's/-dirty/-modified/']),
+    m4_esyscmd([./git-version-gen .tarball-version]),
     [bug-gnulib@gnu.org])
 
 AS_BOX([Configuring AC_PACKAGE_TARNAME AC_PACKAGE_VERSION])
index d3bc4eeba8852a17551fa1a535a5925c4b556d7f..1139476be8581130177cdf1901eb87b5074ca29d 100755 (executable)
@@ -63,8 +63,7 @@ func_mkver()
         sed '1,/^$/d;s/^#/ */;/http:\/\/www\.gnu\.org/q' ${prognam}
         echo ' */'
 
-        gv=`../build-aux/git-version-gen .tarball-version | \
-            sed 's/-dirty/-modified/'`
+        gv=`../build-aux/git-version-gen .tarball-version`
         sedcmd='/^2[01][0-9][0-9]-[0-1][0-9]-[0-3][0-9]  /{
          s/ .*//
          s/-/./gp