diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-10-24 06:02:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 06:02:10 +0200 |
commit | f85840a0530d3524e1a3ae82dcf38b99ee0724c7 (patch) | |
tree | 0aae1cf6e6038bcfbc89df46c9ca193a1a20ae01 /old-configure.in | |
parent | d1a35c3fa6a59f622becc328bf00eff98732dc53 (diff) | |
parent | 19b6f2d9b71ca5f355dbf416ff599370c8ca0eb4 (diff) | |
download | UXP-f85840a0530d3524e1a3ae82dcf38b99ee0724c7.tar UXP-f85840a0530d3524e1a3ae82dcf38b99ee0724c7.tar.gz UXP-f85840a0530d3524e1a3ae82dcf38b99ee0724c7.tar.lz UXP-f85840a0530d3524e1a3ae82dcf38b99ee0724c7.tar.xz UXP-f85840a0530d3524e1a3ae82dcf38b99ee0724c7.zip |
Merge pull request #796 from g4jc/nsuserinfo
Make nsIUserInfo component optional with --disable-userinfo 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 80597eb73..9246b0c41 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,22 @@ fi AC_SUBST(MOZ_DEVTOOLS) dnl ======================================================== +dnl = Disable nsUserInfo +dnl ======================================================== +MOZ_ARG_DISABLE_BOOL(userinfo, +[ --disable-userinfo Disable nsUserInfo], + 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, |