aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2012-01-03 00:34:22 +0100
committerTomasz Sterna <tomek@xiaoka.com>2012-01-04 22:44:20 +0100
commit1548555bd7050e000b062e2160838552ea843b63 (patch)
treeb59acb1f69d07a0e2958aa7b2fd495e4b86df76e /configure.ac
parent0ac8342771ec2185756cfd322321656b5ff1ddc4 (diff)
Bumped Hildon version to 3.0 and fixed GTK+ 3.2 dependency
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac30
1 files changed, 3 insertions, 27 deletions
diff --git a/configure.ac b/configure.ac
index c6e68a2..ff5066e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([Hildon gtk widgets], [2.3.0], [hildon-devel@garage.maemo.org], [hildon])
+AC_INIT([Hildon gtk widgets], [3.0.0], [cordia-dev@lists.xiaoka.com], [hildon])
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
@@ -41,9 +41,9 @@ AC_PROG_AWK
AC_HEADER_STDC
-GTK_VERSION=2.14.3
+GTK_VERSION=3.2
-PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_VERSION)
+PKG_CHECK_MODULES(GTK, gtk+-3.0 >= $GTK_VERSION)
AC_SUBST(GTK_LIBS)
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_VERSION)
@@ -103,30 +103,6 @@ else
AC_MSG_NOTICE(Will not build examples )
fi
-# use maemo gtk+ specific api (or not)
-AC_ARG_WITH(maemo-gtk,
- AC_HELP_STRING([--with-maemo-gtk], [Use Maemo GTK+ API]),
- [
- case "${withval}" in
- yes) USE_MAEMO_GTK=yes ;;
- no) USE_MAEMO_GTK=no ;;
- *) AC_MSG_ERROR(bad value ${withval} for --with-maemo-gtk) ;;
- esac],
- [USE_MAEMO_GTK=yes])
-
-AM_CONDITIONAL(USE_MAEMO_GTK, test "x$USE_MAEMO_GTK" = "xyes")
-
-# just print out our status
-if test x$USE_MAEMO_GTK = xyes; then
- AC_MSG_NOTICE(Will use Maemo GTK+ specific API)
- MAEMO_GTK="-DMAEMO_GTK"
- AC_SUBST(MAEMO_GTK)
- MAEMO_CHANGES="-DMAEMO_CHANGES"
- AC_SUBST(MAEMO_CHANGES)
-else
- AC_MSG_NOTICE(Will not use Maemo GTK+ specific API)
-fi
-
# build with assertion checks (or not)
AC_ARG_WITH(asserts,
AC_HELP_STRING([--with-asserts], [Build with the assertion checks]),