* doc/autoconf.texi (Limitations of Builtins): Document FreeBSD

/bin/sh set unsorted output.
* lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
* tests/local.at
This commit is contained in:
Ralf Wildenhues 2006-04-28 04:17:51 +00:00
parent 12f2dd2d7f
commit 16562b36b8
4 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
/bin/sh set unsorted output.
* lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
* tests/local.at
2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Portable C and C++, Varities of Unportability):

View File

@ -12165,6 +12165,9 @@ better to combine them:
set -ex
@end example
The @command{set} of the Free@acronym{BSD} 6.0 shell does not sort its
output.
@item @command{shift}
@c ------------------

View File

@ -1852,7 +1852,8 @@ m4_define([_AC_CACHE_DUMP],
# `set' quotes correctly as required by POSIX, so do not add quotes.
sed -n ["/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"]
;;
esac
esac |
sort
)dnl
])# _AC_CACHE_DUMP

View File

@ -181,7 +181,7 @@ m4_define([AT_CONFIGURE_AC],
# leaves temporary files. AT_CONFIG_CMP uses the variable dumps to confirm that
# tests have the same side effects regardless of caching.
m4_defun([AC_STATE_SAVE],
[(set) >state-env.$][1 2>&1
[(set) 2>&1 | sort >state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
]])