[clutter/wip/clutter-1.99: 28/79] 2.0: Define a separate clutter_api_version_am macro



commit 646e614dad8d7528ea661186c9cf7ad680888863
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Oct 7 19:07:27 2012 +0100

    2.0: Define a separate clutter_api_version_am macro
    
    We cannot use $CLUTTER_MAJOR_VERSION during 1.99.

 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 85b620d..9bd3d38 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,6 +44,7 @@ m4_define([clutter_version], [clutter_major_version.clutter_minor_version.clutte
 
 # change this only when breaking the API
 m4_define([clutter_api_version], [2.0])
+m4_define([clutter_api_version_am], [2_0])
 
 AC_PREREQ([2.63])
 
@@ -66,7 +67,7 @@ AC_SUBST([CLUTTER_MINOR_VERSION],  [clutter_minor_version])
 AC_SUBST([CLUTTER_MICRO_VERSION],  [clutter_micro_version])
 AC_SUBST([CLUTTER_VERSION],        [clutter_version])
 AC_SUBST([CLUTTER_API_VERSION],    [clutter_api_version])
-AC_SUBST([CLUTTER_API_VERSION_AM], [$CLUTTER_MAJOR_VERSION\_0])
+AC_SUBST([CLUTTER_API_VERSION_AM], [clutter_api_version_am])
 AC_SUBST([CLUTTER_RELEASE_STATUS], [clutter_release_status])
 
 m4_define([lt_current],  [m4_eval(100 * clutter_minor_version + clutter_micro_version - clutter_interface_age)])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]