im/configure.in
author Joshua Cranmer <Pidgeot18@gmail.com>
Sun, 19 Apr 2015 22:20:41 -0500
changeset 22480 2b00be2ded7f6b20d5b10523f73ff29bb02edd43
parent 20443 fc5f846ae8942d73eefad88463254a0559350bdf
child 27526 ebbcdc168ef5de1b525b924815057e3207bc552e
permissions -rw-r--r--
Bug 1126607, part 2: Integrate the imported code into moz.build, r=glandium.

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_SUBST(INSTANTBIRD_VERSION)

if test -d $srcdir/extensions/purple ; then
  tmpscript=`$PYTHON -c 'import os, tempfile; print tempfile.mktemp(prefix="subscript.").replace(os.sep, "/")'` || exit 1
  m4 "${srcdir}/build/autoconf/subconfigure.m4" \
   "${srcdir}/build/autoconf/altoptions.m4" \
   "${srcdir}/extensions/purple/configure.in" > $tmpscript
  . $tmpscript
  rm -f $tmpscript

  MOZ_PURPLE=1
  AC_SUBST(MOZ_PURPLE)
fi