diff options
author | Gaming4JC <g4jc@bulletmail.org> | 2018-10-12 23:17:14 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@bulletmail.org> | 2018-10-12 23:17:14 -0400 |
commit | 19b6f2d9b71ca5f355dbf416ff599370c8ca0eb4 (patch) | |
tree | a3e0d6967c9c1a15e4d17eb7633979cd20ed0cdc /old-configure.in | |
parent | b927e0d5caad3a7703829bdc1093bfc67ef3fb97 (diff) | |
download | UXP-19b6f2d9b71ca5f355dbf416ff599370c8ca0eb4.tar UXP-19b6f2d9b71ca5f355dbf416ff599370c8ca0eb4.tar.gz UXP-19b6f2d9b71ca5f355dbf416ff599370c8ca0eb4.tar.lz UXP-19b6f2d9b71ca5f355dbf416ff599370c8ca0eb4.tar.xz UXP-19b6f2d9b71ca5f355dbf416ff599370c8ca0eb4.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 | 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, |