Bug 1482442 - Do not check for gamepad related headers in an artifact build. r=ted,firefox-build-system-reviewers
authorChris Manchester <cmanchester@mozilla.com>
Fri, 10 Aug 2018 19:23:44 +0000
changeset 828520 53626fd5c3bc0e33d38890b38160611b5a3fad04
parent 828519 d94aa8ef3c68ddad3b9a20ec932952865fbe2cf3
child 828521 9a6728f46269868c5f24f18c95cd2319b5b67a0a
push id118683
push userbmo:gl@mozilla.com
push dateSat, 11 Aug 2018 20:18:50 +0000
reviewersted, firefox-build-system-reviewers
bugs1482442
milestone63.0a1
Bug 1482442 - Do not check for gamepad related headers in an artifact build. r=ted,firefox-build-system-reviewers Differential Revision: https://phabricator.services.mozilla.com/D3119
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -2701,31 +2701,31 @@ if test -n "$MOZ_ANGLE_RENDERER"; then
 
   if test -z "$CROSS_COMPILE"; then
     if test -z "MOZ_FOUND_A_D3D_COMPILER"; then
       AC_MSG_ERROR([Couldn't find an acceptable D3D compiler DLL.])
     fi
   fi
 fi # MOZ_ANGLE_RENDERER
 
-fi # COMPILE_ENVIRONMENT
-
-
 dnl ========================================================
 dnl Gamepad support
 dnl ========================================================
 
 dnl Moved gamepad platform check to moz.build, linux header check still needed here.
 if test "$OS_TARGET" = "Linux"; then
     MOZ_CHECK_HEADER([linux/joystick.h])
     if test "$ac_cv_header_linux_joystick_h" != "yes"; then
       AC_MSG_ERROR([Can't find header linux/joystick.h, needed for gamepad support. Please install Linux kernel headers.])
     fi
 fi
 
+fi # COMPILE_ENVIRONMENT
+
+
 dnl ========================================================
 dnl = Breakpad crash reporting (on by default on supported platforms)
 dnl ========================================================
 
 case $target in
 i?86-*-mingw*|x86_64-*-mingw*)
   MOZ_CRASHREPORTER=1
   ;;