diff options
author | Jim Meyering <jim@meyering.net> | 1998-07-28 13:15:58 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-07-28 13:15:58 +0000 |
commit | 9d07c1872f38ef381600c311b2054cec3084555e (patch) | |
tree | dfff43b8ad479566a6a4f4fade142c596d5d52ca /m4 | |
parent | be388d139c519cf189278638772813b6f8821023 (diff) | |
download | coreutils-9d07c1872f38ef381600c311b2054cec3084555e.tar.xz |
Undef stat.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/utimes.m4 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/m4/utimes.m4 b/m4/utimes.m4 index ddb3aeaee..eceb7ac6d 100644 --- 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 <sys/types.h> +AC_TRY_RUN([ +/* In case stat has been redefined to rpl_stat, undef it here. */ +#undef stat +#include <sys/types.h> #include <sys/stat.h> main() { struct stat s, t; |