mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-11 16:08:13 +00:00
Quote configure.ac arguments more consistently
This should help avoid further Autoconf portability gotchas such as the one recently fixed in 2022-06-27T04:26:01Z!meyering@fb.com. * autogen.sh (autoconf_min): Adjust pattern to match updated configure.ac. * configure.ac: Quote arguments more consistently, as per the Autoconf manual.
This commit is contained in:
parent
e93d9e0f5d
commit
59206529a1
@ -35,7 +35,7 @@
|
||||
progs="autoconf"
|
||||
|
||||
## Minimum versions we need:
|
||||
autoconf_min=`sed -n 's/^ *AC_PREREQ(\([0-9\.]*\)).*/\1/p' configure.ac`
|
||||
autoconf_min=`sed -n 's/^ *AC_PREREQ(\[\([0-9\.]*\)]).*/\1/p' configure.ac`
|
||||
|
||||
|
||||
## $1 = program, eg "autoconf".
|
||||
|
1502
configure.ac
1502
configure.ac
File diff suppressed because it is too large
Load Diff
@ -542,7 +542,7 @@ cf90-113 f90comp: ERROR NSE, File = Hoved.f90, Line = 16, Column = 3
|
||||
* ShellCheck
|
||||
|
||||
In autogen.sh line 38:
|
||||
autoconf_min=`sed -n 's/^ *AC_PREREQ(\([0-9\.]*\)).*/\1/p' configure.ac`
|
||||
autoconf_min=`sed -n 's/^ *AC_PREREQ(\[\([0-9\.]*\)]).*/\1/p' configure.ac`
|
||||
^----------^ SC2034: autoconf_min appears unused. Verify use (or export if used externally).
|
||||
^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user