diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-05-16 17:11:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-16 17:11:17 +0200 |
commit | b702d7d32a9edec41cd2dad81dcf39107c1c5ddc (patch) | |
tree | 84bd9a32203822c02fc8056eb55f0a68315a7afc /old-configure.in | |
parent | 90942a2af0cabb9345cf04fa6113e12197504fcf (diff) | |
parent | 79edb388a3ce6facbb11de51eeade667dae0d995 (diff) | |
download | uxp-b702d7d32a9edec41cd2dad81dcf39107c1c5ddc.tar.gz |
Merge pull request #368 from trav90/safebrowsing-work
Make safebrowsing optional at build time
Diffstat (limited to 'old-configure.in')
-rw-r--r-- | old-configure.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in index 1670a90b6e..1af302d111 100644 --- a/old-configure.in +++ b/old-configure.in @@ -2237,6 +2237,7 @@ LIBJPEG_TURBO_AS= LIBJPEG_TURBO_ASFLAGS= MOZ_PREF_EXTENSIONS=1 MOZ_REFLOW_PERF= +MOZ_SAFE_BROWSING= MOZ_SPELLCHECK=1 MOZ_TOOLKIT_SEARCH=1 MOZ_UI_LOCALE=en-US @@ -3952,8 +3953,24 @@ fi AC_SUBST(MOZ_SYSTEM_SQLITE) dnl ======================================================== +dnl = Enable Google safe browsing (anti-phishing) +dnl ======================================================== +MOZ_ARG_ENABLE_BOOL(safe-browsing, +[ --enable-safe-browsing Enable safe browsing (anti-phishing) implementation], + MOZ_SAFE_BROWSING=1, + MOZ_SAFE_BROWSING= ) +if test -n "$MOZ_SAFE_BROWSING"; then + AC_DEFINE(MOZ_SAFE_BROWSING) +fi +AC_SUBST(MOZ_SAFE_BROWSING) + +dnl ======================================================== dnl = Enable url-classifier dnl ======================================================== +dnl Implicitly enabled by default if building with safe-browsing +if test -n "$MOZ_SAFE_BROWSING"; then + MOZ_URL_CLASSIFIER=1 +fi MOZ_ARG_ENABLE_BOOL(url-classifier, [ --enable-url-classifier Enable url classifier module], MOZ_URL_CLASSIFIER=1, |