> *snip* > >> + if test x"$SKIP_FTRUNCATE_CHECK" != xyes; then >> + AC_MSG_FAILURE([Your system lacks the ftruncate function. >> + Please report this, along with the output of "uname -a", to the >> + bug-coreutils@gnu.org mailing list. To continue past this point, >> + rerun configure with SKIP_FTRUNCATE_CHECK=yes set in the environment. >> + E.g., env SKIP_FTRUNCATE_CHECK=yes ./configure]) > > Please do not teach users to set environment variables rather than pass > arguments to configure. > ./configure SKIP_FTRUNCATE_CHECK=yes > > has the same effect for your code, but happens to still work with a > later > ./config.status --recheck > > which may be issued by the user, or triggered by some makefile rules.
Good point. I've adjusted it. Thanks.