variables shall be overriden by the cache.
* tests/torture.at (AC_ARG_VAR): Test also with a first value
that contains braces.
+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
_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
# 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