summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2014-03-31 14:59:39 -0500
committerJonathon Jongsma <jjongsma@redhat.com>2014-03-31 15:03:07 -0500
commit4f8b8b1581d257f14f46628703932f10834f488e (patch)
tree17cd7af1e45a65bf119003c0fcb6435f87a1ab1f
parent635694190314db7343b0a140db9848922c5b9951 (diff)
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.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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)