summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-05-12 08:21:53 -0500
committertrav90 <travawine@protonmail.ch>2018-05-12 08:21:53 -0500
commitddc451f15f970f050553c3be04a27014b37026a8 (patch)
treec981e0ba122ff1ff06c18d6113a6613c84cfcc59
parentfb8d431dc3c5841932bebacba565293fa203de0f (diff)
downloadaura-central-ddc451f15f970f050553c3be04a27014b37026a8.tar.gz
Make safebrowsing optional at build time - Part 4: configure
-rw-r--r--old-configure.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in
index b12ba5b25..d45c17eec 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -2293,6 +2293,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
@@ -4026,8 +4027,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,