> This is the main problem: autoconf guessed wrong. The AC_FUNC_UTIME_NULL macro > is already obsolete for 3 years: > > -- Macro: AC_FUNC_UTIME_NULL > If `utime (FILE, NULL)' sets FILE's timestamp to the present, > define `HAVE_UTIME_NULL'. > > This macro is obsolescent, as all current systems have a `utime' > that behaves this way. New programs need not use this macro.
I think that then _this_ is the cross-compilation default to be fixed. Ok? Paolo 2009-04-09 Paolo Bonzini <[email protected]> * lib/autoconf/functions.m4 (AC_FUNC_UTIME_NULL): Assume not crosscompiling to an obsolete system. diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index aaf961b..3967d43 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -1757,7 +1757,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT && t.st_mtime - s.st_mtime < 120);]])], ac_cv_func_utime_null=yes, ac_cv_func_utime_null=no, - ac_cv_func_utime_null=no)]) + ac_cv_func_utime_null=yes)]) if test $ac_cv_func_utime_null = yes; then AC_DEFINE(HAVE_UTIME_NULL, 1, [Define to 1 if `utime(file, NULL)' sets file's timestamp to the
