summaryrefslogtreecommitdiffstats
path: root/old-configure.in
diff options
context:
space:
mode:
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=,