-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1787977 - Include configure in the tree. r=firefox-build-system-r…
…eviewers,nalexander Historically, we had configure.in in the tree, and generated configure with autoconf via client.mk at build time, and we'd run that configure. As a side effect, configure would be shipped in source tarballs, as with traditional autoconf-driven software. Bug 1671424 changed that, and made `mach build`/`mach configure` invoke configure.py directly, without needing configure. As a side effect, configure stopped being generated in source directories. An unexpected side effect was that configure stopped being shipped in source tarballs. Anyways, it has been long enough now that adding a configure file in the tree shouldn't cause too many problems with people updating their trees where a configure file might exist from those older builds. Differential Revision: https://phabricator.services.mozilla.com/D155923
- Loading branch information
Showing
6 changed files
with
25 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
SRCDIR=$(dirname $0) | ||
TOPSRCDIR="$SRCDIR" | ||
PYTHON3="${PYTHON3:-python3}" | ||
|
||
exec "$PYTHON3" "$TOPSRCDIR/configure.py" "$@" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
SRCDIR=$(dirname $0) | ||
TOPSRCDIR="$SRCDIR"/../.. | ||
PYTHON3="${PYTHON3:-python3}" | ||
export OLD_CONFIGURE="$SRCDIR"/old-configure | ||
|
||
set -- "$@" --enable-project=js | ||
|
||
exec "$PYTHON3" "$TOPSRCDIR/configure.py" "$@" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters