gecko-dev/build/autoconf
Tom Ritter 9293bfdb80 Bug 1677797 - Change autoconf to avoid using a hard-coded file descriptor r=glandium
In Bug 1671424 we changed the way we configure firefox and it broke the codeql database
generation job.	This job wraps the entire build	process	in a way similar to
  codeql --command="./mach build"

Specifically, the previous way we executed the configure shell script made codeql
disable itself because it was named configure (codeql disables itself during
configuration.)

codeql injects via LD_PRELOAD, and it opens a configuration file and a logging file
(getting fd 3 and 4 respectively.)

autoconf grabs file descriptor 4 and uses it a temporary redirection point either
to a file or stdout. When it does so, it closes	the original file descriptor 4 and
points it at the new location, which also affects the codeql code, resulting in
undesired logging output going into the configure script.

Because this file descriptor trick is only used to avoid duplicating a few lines of
code, I removed the trick and duplicated the code.

Differential Revision: https://phabricator.services.mozilla.com/D98642
2020-12-08 22:04:09 +00:00
..
acgeneral.m4 Bug 1663863 - Vendor autoconf 2.13. r=firefox-build-system-reviewers,rstewart 2020-09-09 23:50:38 +00:00
acoldnames.m4 Bug 1663863 - Vendor autoconf 2.13. r=firefox-build-system-reviewers,rstewart 2020-09-09 23:50:38 +00:00
acspecific.m4 Bug 1663863 - Vendor autoconf 2.13. r=firefox-build-system-reviewers,rstewart 2020-09-09 23:50:38 +00:00
alloc.m4
altoptions.m4 Bug 1669633 - Don't recurse into js/src for the python-part of configure. r=firefox-build-system-reviewers,rstewart 2020-10-07 21:13:19 +00:00
android.m4
arch.m4
autoconf.m4 Bug 1663863 - Vendor autoconf 2.13. r=firefox-build-system-reviewers,rstewart 2020-09-09 23:50:38 +00:00
autoconf.sh Bug 1677797 - Change autoconf to avoid using a hard-coded file descriptor r=glandium 2020-12-08 22:04:09 +00:00
clang-plugin.m4 Bug 1669633 - Don't recurse into js/src for the python-part of configure. r=firefox-build-system-reviewers,rstewart 2020-10-07 21:13:19 +00:00
codeset.m4
compiler-opts.m4 Bug 1641674 - Don't use --gc-sections during profile generation r=froydnj 2020-08-28 20:38:45 +00:00
config.guess
config.status.m4 Bug 1664077 - Remove _NON_GLOBAL_ACDEFINES. r=firefox-build-system-reviewers,mhentges,rstewart 2020-09-15 14:25:14 +00:00
config.sub
expandlibs.m4
hooks.m4
hotfixes.m4
install-sh
mozheader.m4
mozprog.m4
pkg.m4
sanitize.m4
toolchain.m4