mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-01 14:16:02 +08:00
* lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
variables shall be overriden by the cache. * tests/torture.at (AC_ARG_VAR): Test also with a first value that contains braces.
This commit is contained in:
parent
8acf1027fb
commit
115e3bf448
@ -1,3 +1,11 @@
|
||||
2006-04-08 Stepan Kasal <kasal@ucw.cz>,
|
||||
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
|
||||
variables shall be overriden by the cache.
|
||||
* tests/torture.at (AC_ARG_VAR): Test also with a first value
|
||||
that contains braces.
|
||||
|
||||
2006-04-07 Stepan Kasal <kasal@ucw.cz>
|
||||
|
||||
Revert the patch from 2006-04-01 and only improve
|
||||
|
@ -1880,11 +1880,12 @@ _ACEOF
|
||||
|
||||
_AC_CACHE_DUMP() |
|
||||
sed ['
|
||||
/^ac_cv_env_/b end
|
||||
t clear
|
||||
:clear
|
||||
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
||||
t end
|
||||
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
||||
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
||||
:end'] >>confcache
|
||||
if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
||||
if test -w $cache_file; then
|
||||
|
@ -116,6 +116,9 @@ AT_CHECK_AC_ARG_VAR([apple of my eye], [])
|
||||
# Change a precious variable
|
||||
AT_CHECK_AC_ARG_VAR([apple of my eye], [orange of my eye])
|
||||
|
||||
# Change a precious variable that contains braces
|
||||
AT_CHECK_AC_ARG_VAR([apple of my {eye}], [orange of my eye])
|
||||
|
||||
AT_CLEANUP
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user