configure.in 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. dnl -*- Mode: Autoconf; tab-width: 2; indent-tabs-mode: nil; -*-
  2. dnl vi: set tabstop=2 shiftwidth=2 expandtab:
  3. dnl This Source Code Form is subject to the terms of the Mozilla Public
  4. dnl License, v. 2.0. If a copy of the MPL was not distributed with this
  5. dnl file, You can obtain one at http://mozilla.org/MPL/2.0/.
  6. dnl Things we need to carry from confvars.sh
  7. AC_DEFINE(MOZ_PHOENIX)
  8. AC_SUBST(MOZ_PHOENIX)
  9. AC_DEFINE(MC_PALEMOON)
  10. AC_SUBST(MC_PALEMOON)
  11. dnl Optional parts of the build.
  12. dnl ========================================================
  13. dnl = Disable Sync
  14. dnl ========================================================
  15. MOZ_ARG_DISABLE_BOOL(sync,
  16. [ --disable-sync Disable Sync],
  17. MOZ_SERVICES_SYNC=,
  18. MOZ_SERVICES_SYNC=1)
  19. dnl ========================================================
  20. dnl = Disable Lightweight Themes
  21. dnl ========================================================
  22. MOZ_ARG_DISABLE_BOOL(personas,
  23. [ --disable-personas Disable lightweight theme support],
  24. MOZ_PERSONAS=,
  25. MOZ_PERSONAS=1)
  26. if test -n "$MOZ_PERSONAS"; then
  27. AC_DEFINE(MOZ_PERSONAS)
  28. fi
  29. AC_SUBST(MOZ_PERSONAS)