diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-11-08 11:52:41 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-11-08 11:52:41 +0100 |
commit | 13ee68cbc657b6ca956717749c8afa647a8557b8 (patch) | |
tree | ea95e3c7f944e677e7e628326c32cf791abf5933 | |
parent | d5a1b34c053fb8ca8fe4e8189c95246ac9080427 (diff) | |
download | UXP-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
-rw-r--r-- | old-configure.in | 39 |
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=, |