[gtkhtml] Use the appropriate version of gail.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkhtml] Use the appropriate version of gail.
- Date: Tue, 29 Jun 2010 12:28:46 +0000 (UTC)
commit c551c7d28139f9f43429a4e83e3fef1ccee23e4b
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Jun 29 08:27:24 2010 -0400
Use the appropriate version of gail.
Require gail if building with gtk+-2.0, gail-3.0 if building with
gtk+-3.0.
configure.ac | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 27a88ca..5892fbb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,11 +24,13 @@ AC_ARG_ENABLE([gtk3],
if test "x${enable_gtk3}" = "xyes"; then
GTK_PACKAGE="gtk+-3.0"
+ GAIL_PACKAGE="gail-3.0"
gtk_minimum_version="2.90.5"
GTKHTML_API_VERSION=4.0
EDITOR_API_VERSION=4.0
else
GTK_PACKAGE="gtk+-2.0"
+ GAIL_PACKAGE="gail"
gtk_minimum_version="2.20.0"
GTKHTML_API_VERSION=3.14
EDITOR_API_VERSION=3.14
@@ -148,7 +150,7 @@ AC_SUBST(LDFLAGS)
dnl **********************************
dnl GAIL modules
dnl **********************************
-GAIL_MODULES="gail >= gail_minimum_version"
+GAIL_MODULES="$GAIL_PACKAGE >= $gtk_minimum_version"
PKG_CHECK_MODULES(GAIL, $GAIL_MODULES)
AC_SUBST(GAIL_CFLAGS)
AC_SUBST(GAIL_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]