Age | Commit message (Collapse) | Author |
|
Since ea7b8528 (#26422), autogen.sh overwrites the
build-aux/config.{guess, sub} files (installed there by autoreconf)
with the depends/config.{guess, sub} files if these are newer.
The autoreconf tool copies them from it's share/autoconf/build-aux/
directory. Specifically on NixOS, the share/autoconf/build-aux/
files are located in the nix-store and are read-only. autoreconf
preserves the read-only permissions when copying. Overwriting them
with our depends/config.{guess, sub} subsequently fails.
To make sure we can overwrite the files, we set write permissions to
the current user and group before overwriting. This fixes the problem
on NixOS.
fixes #27873: Can't copy to 'build-aux/config.guess' in autoconf.sh: Permission denied
|
|
|
|
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
|
|
Added double quotes to prevent globbing and word splitting.
|
|
Enabled ShellCheck rules:
SC1087
SC2001
SC2004
SC2005
SC2006
SC2016
SC2028
SC2048
SC2066 (note that IFS already contains only a line feed)
SC2116
SC2166
SC2181
SC2206
SC2207
SC2230
SC2236
|
|
|
|
|
|
Changes the error message from:
./autogen.sh: 9: ./autogen.sh: autoreconf: not found
To:
configuration failed, please install autoconf first
|
|
|
|
|
|
|
|
This quiets down the autotools build, making warnings much more visible.
|
|
|
|
Initial steps towards supporting out-of-tree builds.
|
|
In preparation for expanding autogen.sh.
|
|
|
|
|