# HG changeset patch # User Jim Meyering # Date 901631758 0 # Node ID 7b97acdbc82eea85646611ad63a2f5f5ea11ab3c # Parent 9d2a83c7b523cb1311feae63fda2533104b120cd Undef stat. diff --git a/m4/utimes.m4 b/m4/utimes.m4 --- a/m4/utimes.m4 +++ b/m4/utimes.m4 @@ -1,11 +1,14 @@ -#serial 1 +#serial 2 dnl Shamelessly cloned from acspecific.m4's AC_FUNC_UTIME_NULL. AC_DEFUN(jm_FUNC_UTIMES_NULL, [AC_CACHE_CHECK(whether utimes accepts a null argument, ac_cv_func_utimes_null, [rm -f conftestdata; > conftestdata -AC_TRY_RUN([#include +AC_TRY_RUN([ +/* In case stat has been redefined to rpl_stat, undef it here. */ +#undef stat +#include #include main() { struct stat s, t;