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
21SRCDIR=$(dirname $0)
22TOPSRCDIR="$SRCDIR"/../..
23export OLD_CONFIGURE="$SRCDIR"/old-configure
24
25set -- "$@" --enable-project=js
26
27exec python3 "$TOPSRCDIR/configure.py" "$@"
28