Bug 1304019 - Add support for setting task's index rank r=dustin
[gecko.git] / configure.in
blob5b023ef9e6c143bfba91711443e485a7d1f6d237
1 #!/bin/sh
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 # Welcome to the new world of configure. We're working on moving to a
7 # python based configure. In the meanwhile, remains of the old autoconf
8 # based configure is in old-configure.in.
9 # If you need to add something, please come talk to the build system
10 # peers for now.
12 # Because adding a configure file in the tree is going to conflict with
13 # existing configure files in people's (and automation) work trees, and
14 # because some automation jobs are still running autoconf and configure
15 # "manually", this file is actually an m4 file that is processed by
16 # autoconf, but doesn't call any autoconf macros. The `divert` line
17 # below ensures the script that follows is output by autoconf.
18 : "divert(0)dnl"
19 #!/bin/sh
21 SRCDIR=$(dirname $0)
22 TOPSRCDIR="$SRCDIR"
23 export OLD_CONFIGURE="$SRCDIR"/old-configure
25 which python2.7 > /dev/null && exec python2.7 "$TOPSRCDIR/configure.py" "$@" || exec python "$TOPSRCDIR/configure.py" "$@"