Bug 824927 - Accessibility check missing in b2g configure. r=ted
authorPrabindh Sundareson <prabu@ti.com>
Fri, 04 Jan 2013 22:57:06 +0530
changeset 117844 870dca5f3fdcd0524c17741f4ac72f189ac7cf94
parent 117843 d070668a08e3a2ee30a420300eede8d909691012
child 117845 2678933d28ea23f477c2004af6613ba3d4d034e2
push id20709
push userryanvm@gmail.com
push dateMon, 07 Jan 2013 03:24:09 +0000
treeherdermozilla-inbound@29fd39e0dde6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs824927
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 824927 - Accessibility check missing in b2g configure. r=ted
configure.in
--- a/configure.in
+++ b/configure.in
@@ -5230,16 +5230,24 @@ if test "$ACCESSIBILITY"; then
                 AC_MSG_ERROR([You have accessibility enabled, but widl could not be found. Add --disable-accessibility to your mozconfig or install widl. See https://developer.mozilla.org/en-US/docs/Cross_Compile_Mozilla_for_Mingw32 for details.])
             fi
         fi
     esac
     AC_DEFINE(ACCESSIBILITY)
 fi
 
 dnl ========================================================
+dnl Accessibility is required for the linuxgl widget
+dnl backend
+dnl ========================================================
+if test "${MOZ_WIDGET_TOOLKIT}" = "linuxgl" -a "$ACCESSIBILITY" != "1"; then
+    AC_MSG_ERROR(["Accessibility is required for the linuxgl widget backend"])
+fi
+
+dnl ========================================================
 dnl Disable printing
 dnl ========================================================
 MOZ_ARG_DISABLE_BOOL(printing,
 [  --disable-printing      Disable printing support],
     NS_PRINTING=,
     NS_PRINTING=1)
 
 if test "$NS_PRINTING"; then