author Florian Quèze <>
Fri, 28 Feb 2014 01:39:11 +0100
changeset 17639 116c2a4f5b6e8c088ee51d6da2bab939926bd989
parent 17379 bd40ffb0777d6150f11d49d8ab30e88f277dcdce
child 18384 fc5f846ae8942d73eefad88463254a0559350bdf
permissions -rw-r--r--
Bug 955009 - Ship libpurple as an add-on / allow it to be disabled in configure, call purple's subconfigure from im/, and packaging changes, r=clokep.

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

dnl Things we need to carry from

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