summaryrefslogtreecommitdiffstats
path: root/old-configure.in
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-11-08 11:52:41 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-11-08 11:52:41 +0100
commit13ee68cbc657b6ca956717749c8afa647a8557b8 (patch)
treeea95e3c7f944e677e7e628326c32cf791abf5933 /old-configure.in
parentd5a1b34c053fb8ca8fe4e8189c95246ac9080427 (diff)
downloadUXP-13ee68cbc657b6ca956717749c8afa647a8557b8.tar
UXP-13ee68cbc657b6ca956717749c8afa647a8557b8.tar.gz
UXP-13ee68cbc657b6ca956717749c8afa647a8557b8.tar.lz
UXP-13ee68cbc657b6ca956717749c8afa647a8557b8.tar.xz
UXP-13ee68cbc657b6ca956717749c8afa647a8557b8.zip
Move MOZ_GAMEPAD* and NECKO_WIFI up
This resolves #794
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in39
1 files changed, 19 insertions, 20 deletions
diff --git a/old-configure.in b/old-configure.in
index d0b17835c..c7ee53b94 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -2226,6 +2226,8 @@ MOZ_PREF_EXTENSIONS=1
MOZ_REFLOW_PERF=
MOZ_SAFE_BROWSING=
MOZ_SPELLCHECK=1
+MOZ_GAMEPAD=1
+MOZ_GAMEPAD_BACKEND=stub
MOZ_TOOLKIT_SEARCH=1
MOZ_UI_LOCALE=en-US
MOZ_UNIVERSALCHARDET=1
@@ -2264,6 +2266,23 @@ case "${target}" in
esac
+case "$OS_TARGET" in
+ Android)
+ ;;
+ Darwin)
+ if test -z "$MOZ_IOS"; then
+ NECKO_WIFI=1
+ fi
+ ;;
+ DragonFly|FreeBSD|WINNT)
+ NECKO_WIFI=1
+ ;;
+ Linux)
+ NECKO_WIFI=1
+ NECKO_WIFI_DBUS=1
+ ;;
+esac
+
# Optional Firefox for Android partner distribution directory.
MOZ_ARG_WITH_STRING(android-distribution-directory,
[ --with-android-distribution-directory=dir
@@ -3345,9 +3364,6 @@ fi # COMPILE_ENVIRONMENT
dnl ========================================================
dnl Gamepad support
dnl ========================================================
-MOZ_GAMEPAD=1
-MOZ_GAMEPAD_BACKEND=stub
-
MOZ_ARG_DISABLE_BOOL(gamepad,
[ --disable-gamepad Disable gamepad support],
MOZ_GAMEPAD=,
@@ -4998,23 +5014,6 @@ dnl
dnl option to disable necko's wifi scanner
dnl
-case "$OS_TARGET" in
- Android)
- ;;
- Darwin)
- if test -z "$MOZ_IOS"; then
- NECKO_WIFI=1
- fi
- ;;
- DragonFly|FreeBSD|WINNT)
- NECKO_WIFI=1
- ;;
- Linux)
- NECKO_WIFI=1
- NECKO_WIFI_DBUS=1
- ;;
-esac
-
MOZ_ARG_DISABLE_BOOL(necko-wifi,
[ --disable-necko-wifi Disable necko wifi scanner],
NECKO_WIFI=,