2013-04-07 20:32:36 +04:00
|
|
|
dnl -*- Mode: Autoconf; tab-width: 2; indent-tabs-mode: nil; -*-
|
|
|
|
dnl vi: set tabstop=2 shiftwidth=2 expandtab:
|
|
|
|
dnl This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
dnl License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
dnl file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
|
|
dnl Things we need to carry from confvars.sh
|
|
|
|
AC_DEFINE(MOZ_SUITE)
|
|
|
|
AC_SUBST(MOZ_SUITE)
|
|
|
|
AC_SUBST(MOZ_COMPOSER)
|
2013-04-18 20:03:09 +04:00
|
|
|
AC_SUBST(SEAMONKEY_VERSION)
|
2015-12-08 14:16:18 +03:00
|
|
|
AC_DEFINE(MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES)
|
2016-09-29 14:52:39 +03:00
|
|
|
AC_SUBST(MOZ_BUNDLED_FONTS)
|
2013-04-07 20:32:36 +04:00
|
|
|
|
2017-02-26 18:45:39 +03:00
|
|
|
dnl More things we need to carry from confvars.sh
|
|
|
|
AC_SUBST(moztopsrcdir)
|
|
|
|
AC_SUBST(commtopsrcdir)
|
|
|
|
AC_SUBST(mozreltopsrcdir)
|
|
|
|
AC_SUBST(commreltopsrcdir)
|
2017-10-16 22:50:14 +03:00
|
|
|
AC_SUBST(commtopobjdir)
|
2017-02-26 18:45:39 +03:00
|
|
|
|
2013-04-07 20:32:36 +04:00
|
|
|
dnl Optional parts of the build.
|
|
|
|
AC_SUBST(MOZ_MORK)
|
|
|
|
if test "$MOZ_MORK"; then
|
|
|
|
AC_DEFINE(MOZ_MORK)
|
|
|
|
fi
|
2014-02-25 17:25:58 +04:00
|
|
|
if test "$OS_ARCH" != "WINNT"; then
|
2013-04-07 20:32:36 +04:00
|
|
|
MOZ_MOVEMAIL=1
|
2013-07-08 01:58:10 +04:00
|
|
|
HAVE_MOVEMAIL=1
|
|
|
|
AC_DEFINE(HAVE_MOVEMAIL)
|
2013-04-07 20:32:36 +04:00
|
|
|
fi
|
|
|
|
AC_SUBST(MOZ_MOVEMAIL)
|
|
|
|
|
|
|
|
dnl Get other versions (for the calendar plugin)
|
2016-03-11 22:04:59 +03:00
|
|
|
THUNDERBIRD_VERSION=`cat ${_topsrcdir}/../mail/config/version.txt`
|
2013-04-07 20:32:36 +04:00
|
|
|
AC_SUBST(THUNDERBIRD_VERSION)
|
|
|
|
|
|
|
|
dnl =========================================================
|
|
|
|
dnl = Lightning extension
|
|
|
|
dnl =========================================================
|
|
|
|
MOZ_ARG_ENABLE_BOOL(calendar,
|
|
|
|
[ --enable-calendar Enable building of the Lightning calendar extension],
|
|
|
|
MOZ_CALENDAR=1,
|
|
|
|
MOZ_CALENDAR= )
|
|
|
|
AC_SUBST(MOZ_CALENDAR)
|
|
|
|
|
|
|
|
dnl =========================================================
|
|
|
|
dnl = LDAP
|
|
|
|
dnl =========================================================
|
|
|
|
MOZ_ARG_DISABLE_BOOL(ldap,
|
|
|
|
[ --disable-ldap Disable LDAP support],
|
|
|
|
MOZ_LDAP_XPCOM=,
|
|
|
|
MOZ_LDAP_XPCOM=1)
|
|
|
|
|
|
|
|
AC_SUBST(MOZ_LDAP_XPCOM)
|
|
|
|
|
2013-06-25 15:18:16 +04:00
|
|
|
dnl =========================================================
|
|
|
|
dnl = MAPI support (Windows only)
|
|
|
|
dnl =========================================================
|
|
|
|
|
|
|
|
if test "$_WIN32_MSVC"; then
|
|
|
|
MOZ_MAPI_SUPPORT=1
|
|
|
|
fi
|
|
|
|
|
|
|
|
MOZ_ARG_DISABLE_BOOL(mapi,
|
|
|
|
[ --disable-mapi Disable MAPI support],
|
|
|
|
MOZ_MAPI_SUPPORT= )
|
|
|
|
|
|
|
|
AC_SUBST(MOZ_MAPI_SUPPORT)
|
|
|
|
|
|
|
|
if test -n "$MOZ_MAPI_SUPPORT"; then
|
|
|
|
AC_DEFINE(MOZ_MAPI_SUPPORT)
|
2013-05-02 02:56:45 +04:00
|
|
|
fi
|