Fixed c581bb3ceac5 bustage (bug 815581)
authorJacek Caban <jacek@codeweavers.com>
Fri, 30 Nov 2012 15:37:55 +0100
changeset 114599 4d2bb4d470cc34340495ab70e055204b8a440d22
parent 114598 c581bb3ceac577ffe0e917906395c2b2230325a1
child 114600 41723231257e1b954d70ce791f4b2471d81f5ae7
push id23926
push userryanvm@gmail.com
push dateSat, 01 Dec 2012 15:27:30 +0000
treeherdermozilla-central@ecdf0e332f17 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs815581
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
Fixed c581bb3ceac5 bustage (bug 815581)
configure.in
--- a/configure.in
+++ b/configure.in
@@ -5189,23 +5189,26 @@ AC_DEFINE(IBMBIDI)
 dnl ========================================================
 dnl accessibility support on by default on all platforms
 dnl ========================================================
 MOZ_ARG_DISABLE_BOOL(accessibility,
 [  --disable-accessibility Disable accessibility support],
     ACCESSIBILITY=,
     ACCESSIBILITY=1 )
 if test "$ACCESSIBILITY"; then
-    if test -z "$MIDL"; then
-        if test "$GCC" != "yes"; then
-            AC_MSG_ERROR([MIDL could not be found. Building accessibility without MIDL is not supported.])
-        else
-            AC_MSG_ERROR([You have accessibility enabled, but widl could not be found. Add --dissable-accessibility to your mozconfig or install widl. See https://developer.mozilla.org/en-US/docs/Cross_Compile_Mozilla_for_Mingw32 for details.])
+    case "$target" in
+    *-mingw*)
+        if test -z "$MIDL"; then
+            if test "$GCC" != "yes"; then
+                AC_MSG_ERROR([MIDL could not be found. Building accessibility without MIDL is not supported.])
+            else
+                AC_MSG_ERROR([You have accessibility enabled, but widl could not be found. Add --dissable-accessibility to your mozconfig or install widl. See https://developer.mozilla.org/en-US/docs/Cross_Compile_Mozilla_for_Mingw32 for details.])
+            fi
         fi
-    fi
+    esac
     AC_DEFINE(ACCESSIBILITY)
 fi
 
 dnl ========================================================
 dnl Disable printing
 dnl ========================================================
 MOZ_ARG_DISABLE_BOOL(printing,
 [  --disable-printing      Disable printing support],