mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
admin/quick-install-emacs: Update get_config_var for autoconf 2.62
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1585
This commit is contained in:
parent
f67cf06438
commit
d94c90b9a6
@ -159,11 +159,12 @@ fi
|
||||
CONFIG_STATUS="$BUILD/config.status"
|
||||
get_config_var ()
|
||||
{
|
||||
if ! sed -n "s/^s\(.\)@$1@\1\(|#_!!_#|\)*\(.*\)\1.*$/\3/p" $CONFIG_STATUS | sed q | grep ''
|
||||
then
|
||||
{ sed -n "s/^S[[]\"$1\"[]]=\"\([^\"]*\)\"/\1/p" $CONFIG_STATUS | sed q | grep ''; } ||
|
||||
{ sed -n "s/^s\(.\)@$1@\1\(|#_!!_#|\)*\(.*\)\1.*$/\3/p" $CONFIG_STATUS | sed q | grep ''; } ||
|
||||
{
|
||||
echo 1>&2 "$me: $1: Configuration variable not found in $CONFIG_STATUS"
|
||||
exit 4
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
||||
test x"$SRC" = x && { SRC="`get_config_var srcdir`" || exit 4 ; }
|
||||
|
Loading…
Reference in New Issue
Block a user