[gnome-games] Add maemo5 support to --with-platform-variant
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games] Add maemo5 support to --with-platform-variant
- Date: Tue, 2 Jun 2009 18:16:05 -0400 (EDT)
commit 02a838777315ce5dbe22c4961eaa433ee4119ff2
Author: Christian Persch <chpe gnome org>
Date: Tue Jun 2 20:44:31 2009 +0200
Add maemo5 support to --with-platform-variant
And define HAVE_MAEMO_[45] macros and automake conditionals.
---
configure.in | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/configure.in b/configure.in
index ba2857a..22f8c6c 100644
--- a/configure.in
+++ b/configure.in
@@ -256,9 +256,8 @@ if test "$with_platform" = "hildon"; then
AC_ARG_WITH([platform-variant],
[AS_HELP_STRING([--with-platform-variant=maemo3|maemo4|mid (default: maemo4)])],
[case "$withval" in
- maemo4|maemo3|mid) ;;
- maemo) with_platform_variant=maemo4 ;;
- *) AC_MSG_ERROR([unknown platform variant "$withval"]) ;;
+ maemo5|maemo4|maemo3|mid) ;;
+ *) with_platform_variant=maemo4 ;;
esac],
[with_platform_variant=maemo3])
AC_MSG_RESULT([$with_platform_variant])
@@ -272,6 +271,8 @@ AM_CONDITIONAL([HAVE_GNOME],[test "$with_platform" = "gnome"])
AM_CONDITIONAL([HAVE_HILDON],[test "$with_platform" = "hildon"])
AM_CONDITIONAL([HAVE_MAEMO],[test "$with_platform" = "hildon" -a "$with_platform_variant" != "mid"])
AM_CONDITIONAL([HAVE_MAEMO_3],[test "$with_platform" = "hildon" -a "$with_platform_variant" = "maemo3"])
+AM_CONDITIONAL([HAVE_MAEMO_4],[test "$with_platform" = "hildon" -a "$with_platform_variant" = "maemo4"])
+AM_CONDITIONAL([HAVE_MAEMO_5],[test "$with_platform" = "hildon" -a "$with_platform_variant" = "maemo5"])
if test "$with_platform" = "gnome"; then
AC_DEFINE([HAVE_GNOME],[1],[Define if GNOME support is enabled])
@@ -285,6 +286,12 @@ if test "$with_platform" = "hildon"; then
if test "$with_platform_variant" = "maemo3"; then
AC_DEFINE([HAVE_MAEMO_3],[1],[Define if Maemo 3.x support is enabled])
fi
+ if test "$with_platform_variant" = "maemo4"; then
+ AC_DEFINE([HAVE_MAEMO_4],[1],[Define if Maemo 4.x support is enabled])
+ fi
+ if test "$with_platform_variant" = "maemo5"; then
+ AC_DEFINE([HAVE_MAEMO_5],[1],[Define if Maemo 5.x support is enabled])
+ fi
fi
# Features
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]