summaryrefslogtreecommitdiffstats
path: root/old-configure.in
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-10-26 09:04:16 +0200
committerGitHub <noreply@github.com>2018-10-26 09:04:16 +0200
commit4f59678acd9b48284b6b23b3d6863a33739dfdff (patch)
tree92d5ed317cd80b4b72a6374347ad1d120d3912d1 /old-configure.in
parentf5b13e91d18a414dae5e384b377ead66bc8d898f (diff)
parent6a2ff38f0fb2ed00e96a1a3d4cd2c655774e87fe (diff)
downloadUXP-4f59678acd9b48284b6b23b3d6863a33739dfdff.tar
UXP-4f59678acd9b48284b6b23b3d6863a33739dfdff.tar.gz
UXP-4f59678acd9b48284b6b23b3d6863a33739dfdff.tar.lz
UXP-4f59678acd9b48284b6b23b3d6863a33739dfdff.tar.xz
UXP-4f59678acd9b48284b6b23b3d6863a33739dfdff.zip
Merge pull request #854 from g4jc/nsuserinfo
Issue #795 - Make nsIUserInfo component optional
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in
index 80597eb73..d0b17835c 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -2247,6 +2247,7 @@ MOZ_PLACES=1
MOZ_SERVICES_HEALTHREPORT=1
MOZ_SERVICES_SYNC=1
MOZ_SERVICES_CLOUDSYNC=1
+MOZ_USERINFO=1
case "$target_os" in
mingw*)
@@ -4587,6 +4588,20 @@ fi
AC_SUBST(MOZ_DEVTOOLS)
dnl ========================================================
+dnl = Disable nsUserInfo
+dnl ========================================================
+MOZ_ARG_DISABLE_BOOL(userinfo,
+[ --disable-userinfo Disable nsUserInfo (default=enabled)],
+ MOZ_USERINFO=,
+ MOZ_USERINFO=1)
+
+if test -n "$MOZ_USERINFO"; then
+ AC_DEFINE(MOZ_USERINFO)
+fi
+
+AC_SUBST(MOZ_USERINFO)
+
+dnl ========================================================
dnl = Define default location for MOZILLA_FIVE_HOME
dnl ========================================================
MOZ_ARG_WITH_STRING(default-mozilla-five-home,