diff options
author | Gaming4JC <g4jc@bulletmail.org> | 2018-10-25 18:12:58 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@bulletmail.org> | 2018-10-25 18:12:58 -0400 |
commit | 6a2ff38f0fb2ed00e96a1a3d4cd2c655774e87fe (patch) | |
tree | b5ed402996e73e08ebec26e5476a0b3a15c42b3b /old-configure.in | |
parent | b927e0d5caad3a7703829bdc1093bfc67ef3fb97 (diff) | |
download | UXP-6a2ff38f0fb2ed00e96a1a3d4cd2c655774e87fe.tar UXP-6a2ff38f0fb2ed00e96a1a3d4cd2c655774e87fe.tar.gz UXP-6a2ff38f0fb2ed00e96a1a3d4cd2c655774e87fe.tar.lz UXP-6a2ff38f0fb2ed00e96a1a3d4cd2c655774e87fe.tar.xz UXP-6a2ff38f0fb2ed00e96a1a3d4cd2c655774e87fe.zip |
Issue #795 - Make nsIUserInfo component optional
This allows the nsIUserinfo component to be disabled with --disable-userinfo in mozconfig
at build time, but leaves it on by default to avoid any compatibility issues in existing
applications.
Diffstat (limited to 'old-configure.in')
-rw-r--r-- | old-configure.in | 15 |
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, |