Source code

Revision control

Other Tools

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/.
5
#
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.
11
#
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
20
21
SRCDIR=$(dirname $0)
22
TOPSRCDIR="$SRCDIR"/../..
23
export OLD_CONFIGURE="$SRCDIR"/old-configure
24
25
set -- "$@" --enable-project=js
26
27
which python2.7 > /dev/null && exec python2.7 "$TOPSRCDIR/configure.py" "$@" || exec python "$TOPSRCDIR/configure.py" "$@"