mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 557824 - move default configs for android into configure.in r=ted
This commit is contained in:
parent
4859e2ab1d
commit
b9dde1111f
75
configure.in
75
configure.in
@ -2821,8 +2821,6 @@ alpha*-*-osf*)
|
|||||||
|
|
||||||
MOZ_GFX_OPTIMIZE_MOBILE=1
|
MOZ_GFX_OPTIMIZE_MOBILE=1
|
||||||
MOZ_OPTIMIZE_FLAGS="-Os -freorder-blocks -fno-reorder-functions -fomit-frame-pointer"
|
MOZ_OPTIMIZE_FLAGS="-Os -freorder-blocks -fno-reorder-functions -fomit-frame-pointer"
|
||||||
|
|
||||||
dnl MOZ_MEMORY=1
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
@ -4880,18 +4878,6 @@ MOZ_ARG_WITH_STRING(java-bin-path,
|
|||||||
Location of Java binaries (java, javac, jar)],
|
Location of Java binaries (java, javac, jar)],
|
||||||
JAVA_BIN_PATH=$withval)
|
JAVA_BIN_PATH=$withval)
|
||||||
|
|
||||||
dnl ========================================================
|
|
||||||
dnl Use ARM userspace kernel helpers; tell NSPR to enable
|
|
||||||
dnl their usage and use them in spidermonkey.
|
|
||||||
dnl ========================================================
|
|
||||||
MOZ_ARG_WITH_BOOL(arm-kuser,
|
|
||||||
[ --with-arm-kuser Use kuser helpers (Linux/ARM only -- requires kernel 2.6.13 or later)],
|
|
||||||
USE_ARM_KUSER=1,
|
|
||||||
USE_ARM_KUSER=)
|
|
||||||
if test -n "$USE_ARM_KUSER"; then
|
|
||||||
AC_DEFINE(USE_ARM_KUSER)
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
dnl =
|
dnl =
|
||||||
dnl = Application
|
dnl = Application
|
||||||
@ -4908,6 +4894,7 @@ MOZ_OFFICIAL_BRANDING=
|
|||||||
MOZ_FEEDS=1
|
MOZ_FEEDS=1
|
||||||
MOZ_IMG_DECODERS_DEFAULT="png gif jpeg bmp icon"
|
MOZ_IMG_DECODERS_DEFAULT="png gif jpeg bmp icon"
|
||||||
MOZ_IMG_ENCODERS_DEFAULT="png jpeg"
|
MOZ_IMG_ENCODERS_DEFAULT="png jpeg"
|
||||||
|
MOZ_INSTALLER=1
|
||||||
MOZ_IPC=1
|
MOZ_IPC=1
|
||||||
MOZ_JAVAXPCOM=
|
MOZ_JAVAXPCOM=
|
||||||
MOZ_JSDEBUGGER=1
|
MOZ_JSDEBUGGER=1
|
||||||
@ -4953,10 +4940,12 @@ MOZ_XTF=1
|
|||||||
MOZ_XUL=1
|
MOZ_XUL=1
|
||||||
MOZ_ZIPWRITER=1
|
MOZ_ZIPWRITER=1
|
||||||
NS_PRINTING=1
|
NS_PRINTING=1
|
||||||
|
NSS_DISABLE_DBM=
|
||||||
NECKO_WIFI=1
|
NECKO_WIFI=1
|
||||||
NECKO_COOKIES=1
|
NECKO_COOKIES=1
|
||||||
NECKO_DISK_CACHE=1
|
NECKO_DISK_CACHE=1
|
||||||
NECKO_PROTOCOLS_DEFAULT="about data file ftp gopher http res viewsource"
|
NECKO_PROTOCOLS_DEFAULT="about data file ftp gopher http res viewsource"
|
||||||
|
USE_ARM_KUSER=
|
||||||
BUILD_CTYPES=1
|
BUILD_CTYPES=1
|
||||||
XPC_IDISPATCH_SUPPORT=
|
XPC_IDISPATCH_SUPPORT=
|
||||||
|
|
||||||
@ -4986,6 +4975,22 @@ case "$target_os" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
case "${target}" in
|
||||||
|
arm-android-eabi)
|
||||||
|
NSS_DISABLE_DBM=1
|
||||||
|
USE_ARM_KUSER=1
|
||||||
|
MOZ_INSTALLER=
|
||||||
|
MOZ_CRASHREPORTER=
|
||||||
|
NS_PRINTING=
|
||||||
|
NECKO_WIFI=
|
||||||
|
MOZ_PLUGINS=
|
||||||
|
MOZ_THUMB2=1
|
||||||
|
MOZ_THEME_FASTSTRIPE=1
|
||||||
|
MOZ_TREE_FREETYPE=1
|
||||||
|
MOZ_MEMORY=1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
MOZ_ARG_ENABLE_STRING(application,
|
MOZ_ARG_ENABLE_STRING(application,
|
||||||
[ --enable-application=APP
|
[ --enable-application=APP
|
||||||
Options include:
|
Options include:
|
||||||
@ -5243,6 +5248,17 @@ fi # COMPILE_ENVIRONMENT
|
|||||||
|
|
||||||
AC_SUBST(MOZ_FS_LAYOUT)
|
AC_SUBST(MOZ_FS_LAYOUT)
|
||||||
|
|
||||||
|
dnl ========================================================
|
||||||
|
dnl Use ARM userspace kernel helpers; tell NSPR to enable
|
||||||
|
dnl their usage and use them in spidermonkey.
|
||||||
|
dnl ========================================================
|
||||||
|
MOZ_ARG_WITH_BOOL(arm-kuser,
|
||||||
|
[ --with-arm-kuser Use kuser helpers (Linux/ARM only -- requires kernel 2.6.13 or later)],
|
||||||
|
USE_ARM_KUSER=1,)
|
||||||
|
if test -n "$USE_ARM_KUSER"; then
|
||||||
|
AC_DEFINE(USE_ARM_KUSER)
|
||||||
|
fi
|
||||||
|
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
dnl = startup-notification support module
|
dnl = startup-notification support module
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
@ -5723,16 +5739,14 @@ dnl = Disable plugin support
|
|||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
MOZ_ARG_DISABLE_BOOL(plugins,
|
MOZ_ARG_DISABLE_BOOL(plugins,
|
||||||
[ --disable-plugins Disable plugins support],
|
[ --disable-plugins Disable plugins support],
|
||||||
MOZ_PLUGINS=,
|
MOZ_PLUGINS=,)
|
||||||
MOZ_PLUGINS=1)
|
|
||||||
|
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
dnl = Disable building dbm
|
dnl = Disable building dbm
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
MOZ_ARG_DISABLE_BOOL(dbm,
|
MOZ_ARG_DISABLE_BOOL(dbm,
|
||||||
[ --disable-dbm Disable building dbm],
|
[ --disable-dbm Disable building dbm],
|
||||||
NSS_DISABLE_DBM=1,
|
NSS_DISABLE_DBM=1,)
|
||||||
NSS_DISABLE_DBM=)
|
|
||||||
|
|
||||||
dnl bi-directional support always on
|
dnl bi-directional support always on
|
||||||
IBMBIDI=1
|
IBMBIDI=1
|
||||||
@ -5782,8 +5796,7 @@ dnl Disable printing
|
|||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
MOZ_ARG_DISABLE_BOOL(printing,
|
MOZ_ARG_DISABLE_BOOL(printing,
|
||||||
[ --disable-printing Disable printing support],
|
[ --disable-printing Disable printing support],
|
||||||
NS_PRINTING=,
|
NS_PRINTING=,)
|
||||||
NS_PRINTING=1 )
|
|
||||||
|
|
||||||
if test "$MOZ_WIDGET_TOOLKIT" = "qt"; then
|
if test "$MOZ_WIDGET_TOOLKIT" = "qt"; then
|
||||||
AC_MSG_WARN([Printing does not work with Qt at this time. Omitting printing support.])
|
AC_MSG_WARN([Printing does not work with Qt at this time. Omitting printing support.])
|
||||||
@ -5794,7 +5807,6 @@ if test "$NS_PRINTING"; then
|
|||||||
AC_DEFINE(NS_PRINTING)
|
AC_DEFINE(NS_PRINTING)
|
||||||
AC_DEFINE(NS_PRINT_PREVIEW)
|
AC_DEFINE(NS_PRINT_PREVIEW)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
dnl use native unicode converters
|
dnl use native unicode converters
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
@ -5843,8 +5855,7 @@ dnl = Disable Ogg Codecs
|
|||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
MOZ_ARG_DISABLE_BOOL(ogg,
|
MOZ_ARG_DISABLE_BOOL(ogg,
|
||||||
[ --disable-ogg Disable Ogg Codec support],
|
[ --disable-ogg Disable Ogg Codec support],
|
||||||
MOZ_OGG=,
|
MOZ_OGG=,)
|
||||||
MOZ_OGG=1)
|
|
||||||
|
|
||||||
AC_SUBST(MOZ_OGG)
|
AC_SUBST(MOZ_OGG)
|
||||||
|
|
||||||
@ -5880,8 +5891,7 @@ dnl = Disable Wave decoder support
|
|||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
MOZ_ARG_DISABLE_BOOL(wave,
|
MOZ_ARG_DISABLE_BOOL(wave,
|
||||||
[ --disable-wave Disable Wave decoder support],
|
[ --disable-wave Disable Wave decoder support],
|
||||||
MOZ_WAVE=,
|
MOZ_WAVE=,)
|
||||||
MOZ_WAVE=1)
|
|
||||||
|
|
||||||
AC_SUBST(MOZ_WAVE)
|
AC_SUBST(MOZ_WAVE)
|
||||||
|
|
||||||
@ -5994,8 +6004,7 @@ esac
|
|||||||
MOZ_ARG_ENABLE_BOOL(javaxpcom,
|
MOZ_ARG_ENABLE_BOOL(javaxpcom,
|
||||||
[ --enable-javaxpcom
|
[ --enable-javaxpcom
|
||||||
Enable Java-XPCOM bridge],
|
Enable Java-XPCOM bridge],
|
||||||
MOZ_JAVAXPCOM=1,
|
MOZ_JAVAXPCOM=1,)
|
||||||
MOZ_JAVAXPCOM= )
|
|
||||||
|
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
cygwin*|msvc*|mks*)
|
cygwin*|msvc*|mks*)
|
||||||
@ -6072,8 +6081,7 @@ esac
|
|||||||
|
|
||||||
MOZ_ARG_DISABLE_BOOL(crashreporter,
|
MOZ_ARG_DISABLE_BOOL(crashreporter,
|
||||||
[ --disable-crashreporter Disable breakpad crash reporting],
|
[ --disable-crashreporter Disable breakpad crash reporting],
|
||||||
MOZ_CRASHREPORTER=,
|
MOZ_CRASHREPORTER=,)
|
||||||
MOZ_CRASHREPORTER=1)
|
|
||||||
|
|
||||||
if test -n "$MOZ_CRASHREPORTER"; then
|
if test -n "$MOZ_CRASHREPORTER"; then
|
||||||
AC_DEFINE(MOZ_CRASHREPORTER)
|
AC_DEFINE(MOZ_CRASHREPORTER)
|
||||||
@ -6350,8 +6358,7 @@ esac
|
|||||||
|
|
||||||
MOZ_ARG_DISABLE_BOOL(installer,
|
MOZ_ARG_DISABLE_BOOL(installer,
|
||||||
[ --disable-installer Disable building of installer],
|
[ --disable-installer Disable building of installer],
|
||||||
MOZ_INSTALLER=,
|
MOZ_INSTALLER=,)
|
||||||
MOZ_INSTALLER=1 )
|
|
||||||
if test -n "$MOZ_INSTALLER" -a "$OS_ARCH" = "WINNT"; then
|
if test -n "$MOZ_INSTALLER" -a "$OS_ARCH" = "WINNT"; then
|
||||||
# Disable installer for Windows builds that use the new toolkit if NSIS
|
# Disable installer for Windows builds that use the new toolkit if NSIS
|
||||||
# isn't in the path.
|
# isn't in the path.
|
||||||
@ -8399,9 +8406,7 @@ dnl option to disable necko's wifi scanner
|
|||||||
dnl
|
dnl
|
||||||
MOZ_ARG_DISABLE_BOOL(necko-wifi,
|
MOZ_ARG_DISABLE_BOOL(necko-wifi,
|
||||||
[ --disable-necko-wifi Disable necko wifi scanner],
|
[ --disable-necko-wifi Disable necko wifi scanner],
|
||||||
NECKO_WIFI=,
|
NECKO_WIFI=,)
|
||||||
NECKO_WIFI=1
|
|
||||||
)
|
|
||||||
|
|
||||||
if test "$OS_ARCH" = "OS2"; then
|
if test "$OS_ARCH" = "OS2"; then
|
||||||
dnl OS/2 implementation of Necko-WiFi support will be added in bug 506566
|
dnl OS/2 implementation of Necko-WiFi support will be added in bug 506566
|
||||||
|
Loading…
Reference in New Issue
Block a user