[banshee] [a11y] Remove --enable-custom-widget-a11y flag



commit 4179d84767285fe5819596b153b8787e912c08e8
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Thu Dec 3 16:52:15 2009 -0800

    [a11y] Remove --enable-custom-widget-a11y flag
    
    Instead, enable automatically if Gtk# >= 2.12.10 (soon to be released).

 build/m4/banshee/gtk-sharp.m4 |    4 ++++
 configure.ac                  |    7 +------
 2 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/build/m4/banshee/gtk-sharp.m4 b/build/m4/banshee/gtk-sharp.m4
index 1c42f60..4f6fff5 100644
--- a/build/m4/banshee/gtk-sharp.m4
+++ b/build/m4/banshee/gtk-sharp.m4
@@ -10,5 +10,9 @@ AC_DEFUN([BANSHEE_CHECK_GTK_SHARP],
 	PKG_CHECK_MODULES(GLIBSHARP,
 		glib-sharp-2.0 >= $GTKSHARP_REQUIRED)
 	AC_SUBST(GLIBSHARP_LIBS)
+
+    PKG_CHECK_MODULES(GTKSHARP_A11Y, gtk-sharp-2.0 >= 2.12.10, gtksharp_with_a11y=yes, gtksharp_with_a11y=no)
+	AM_CONDITIONAL(ENABLE_ATK, test "x$gtksharp_with_a11y" = "xyes")
+
 ])
 
diff --git a/configure.ac b/configure.ac
index 3b76bca..9b6b853 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,11 +130,6 @@ else
 	AM_CONDITIONAL(ENABLE_GNOME, false)
 fi
 
-AC_ARG_ENABLE(custom-widget-a11y, 
-	AC_HELP_STRING([--enable-custom-widget-a11y], [Enable custom widget accessibility]), 
-	enable_atk="yes", enable_atk="no")
-AM_CONDITIONAL(ENABLE_ATK, test "x$enable_atk" = "xyes")
-
 dnl DAP support (each module is optional)
 BANSHEE_CHECK_DAP_MTP
 BANSHEE_CHECK_DAP_IPOD
@@ -340,7 +335,7 @@ ${PACKAGE}-${VERSION}
 
   Build/Development:
     Unit Tests:        ${do_tests} (requires nunit >= ${NUNIT_REQUIRED})
-    Custom a11y:       ${enable_atk} (requires gtk-sharp 2.12 from svn)
+    Custom a11y:       ${gtksharp_with_a11y} (requires gtk-sharp >= 2.12.10)
     Release Build:     ${enable_release}
     Vendor Build ID:   ${vendor_build_id}
 



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