[Spice-commits] configure.ac

Jonathon Jongsma jjongsma at kemper.freedesktop.org
Mon Mar 31 13:04:05 PDT 2014


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

New commits:
commit 4f8b8b1581d257f14f46628703932f10834f488e
Author: Jonathon Jongsma <jjongsma at redhat.com>
Date:   Mon Mar 31 14:59:39 2014 -0500

    Fix missing SPICE_GTK_MICRO_VERSION value
    
    configure.ac tries to assign a default value of 0 to the micro version if it's
    empty, but the shell variable assignemnt doesn't work because there's whitespace
    around the '=' sign.
    
    This results in SPICE_GTK_MICRO_VERSION being defined to (), which causes a
    compilation failure in files that include it.

diff --git a/configure.ac b/configure.ac
index 1fcf149..dc6a4ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,7 +80,7 @@ AC_CONFIG_SUBDIRS([gtk/phodav])
 SPICE_GTK_MAJOR_VERSION=`echo $PACKAGE_VERSION | cut -d. -f1`
 SPICE_GTK_MINOR_VERSION=`echo $PACKAGE_VERSION | cut -d. -f2`
 SPICE_GTK_MICRO_VERSION=`echo $PACKAGE_VERSION | cut -d. -f3 | cut -d- -f1`
-AS_IF([test "x$SPICE_GTK_MICRO_VERSION" = "x"], [SPICE_GTK_MICRO_VERSION = 0])
+AS_IF([test "x$SPICE_GTK_MICRO_VERSION" = "x"], [SPICE_GTK_MICRO_VERSION=0])
 
 AC_SUBST(SPICE_GTK_MAJOR_VERSION)
 AC_SUBST(SPICE_GTK_MINOR_VERSION)


More information about the Spice-commits mailing list