/bin/sh set unsorted output.
* lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
* tests/local.at
+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):
set -ex
@end example
+The @command{set} of the Free@acronym{BSD} 6.0 shell does not sort its
+output.
+
@item @command{shift}
@c ------------------
# `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
# 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
]])