[Spice-commits] configure.ac

Marc-André Lureau elmarco at kemper.freedesktop.org
Thu Feb 7 10:48:13 PST 2013


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

New commits:
commit 9ffc614a6c2c81363f81719a31d3f369d0d51762
Author: Michael Tokarev <mjt at tls.msk.ru>
Date:   Thu Feb 7 20:52:14 2013 +0400

    spice-common: remove version construction
    
    Version string isn't used anywhere in spice-common, and there's
    no version for spice-common module per se, either.  Hoever,
    configure.ac has this:
    
     AC_INIT([spice-common],
             [m4_esyscmd(build-aux/git-version-gen .tarball-version)],
             [spice-devel at lists.freedesktop.org])
    
    But since git-version-gen script is not provided in spice-common
    module, multiple error messages are produced when generating
    configure (running autogen/autoreconf), like this:
    
      sh: ./build-aux/git-version-gen: not found
    
    (repeated about 50 times).
    
    The following trivial patch removes usage of build-aux/git-version-gen
    from AC_INIT and replaces it with a string "noversion", to stop
    these scary messages from being produced.
    
    Signed-off-by: Michael Tokarev <mjt at tls.msk.ru>

diff --git a/configure.ac b/configure.ac
index c4b0f08..b5cb960 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
 AC_PREREQ([2.63])
 
 AC_INIT([spice-common],
-        [m4_esyscmd(build-aux/git-version-gen .tarball-version)],
+        [noversion],
         [spice-devel at lists.freedesktop.org])
 
 AC_CONFIG_SRCDIR([common/bitops.h])


More information about the Spice-commits mailing list