author Patrick Cloke <>
Thu, 16 Oct 2014 18:05:41 -0400
changeset 20883 56fe4fac57d0916883a373cb7640681631ee0fe0
parent 20787 8f57b03404285702405cfb4516765e5ad83e4193
child 20914 5540d3b4eb234376fcd74a6a9022f57bba8dc36d
permissions -rw-r--r--
Backout part of 2f79b0b939ed that's unrelated. a=Standard8

dnl -*- Mode: Autoconf; tab-width: 4; indent-tabs-mode: nil; -*-
dnl vi: set tabstop=4 shiftwidth=4 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 Process this file with autoconf to produce a configure script.
dnl ========================================================


# If MOZCONFIG isn't set, use the .mozconfig from the current directory. This
# overrides the lookup in mozilla-central's configure, which looks in the wrong
# directory for this file.
if test -z "$MOZCONFIG" -a -f $(dirname $0)/.mozconfig; then
    export MOZCONFIG=$(dirname $0)/.mozconfig

# Our automation expects to find things in $MOZ_OBJDIR/mozilla. Oblige it by
# symlinking the directories together.
if test "$MOZ_AUTOMATION" -eq 1; then
    ln -s $PWD mozilla

# Execute the mozilla configure script in the current directory, adding the
# parameter we need to run comm-central.
exec ${MOZILLA_SRCDIR}/configure "$@" --with-external-source-dir="$(dirname $0)"