|
Packit |
f0b94e |
#!/bin/sh
|
|
Packit |
f0b94e |
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
Packit |
f0b94e |
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
Packit |
f0b94e |
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
Packit |
f0b94e |
#
|
|
Packit |
f0b94e |
# Welcome to the new world of configure. We're working on moving to a
|
|
Packit |
f0b94e |
# python based configure. In the meanwhile, remains of the old autoconf
|
|
Packit |
f0b94e |
# based configure is in old-configure.in.
|
|
Packit |
f0b94e |
# If you need to add something, please come talk to the build system
|
|
Packit |
f0b94e |
# peers for now.
|
|
Packit |
f0b94e |
#
|
|
Packit |
f0b94e |
# Because adding a configure file in the tree is going to conflict with
|
|
Packit |
f0b94e |
# existing configure files in people's (and automation) work trees, and
|
|
Packit |
f0b94e |
# because some automation jobs are still running autoconf and configure
|
|
Packit |
f0b94e |
# "manually", this file is actually an m4 file that is processed by
|
|
Packit |
f0b94e |
# autoconf, but doesn't call any autoconf macros. The `divert` line
|
|
Packit |
f0b94e |
# below ensures the script that follows is output by autoconf.
|
|
Packit |
f0b94e |
: "divert(0)dnl"
|
|
Packit |
f0b94e |
#!/bin/sh
|
|
Packit |
f0b94e |
|
|
Packit |
f0b94e |
SRCDIR=$(dirname $0)
|
|
Packit |
f0b94e |
TOPSRCDIR="$SRCDIR"
|
|
Packit |
f0b94e |
export OLD_CONFIGURE="$SRCDIR"/old-configure
|
|
Packit |
f0b94e |
|
|
Packit |
f0b94e |
which python2.7 > /dev/null && exec python2.7 "$TOPSRCDIR/configure.py" "$@" || exec python "$TOPSRCDIR/configure.py" "$@"
|