Mercurial > hg > octave-lojdl > gnulib-hg
changeset 1450:7b97acdbc82e
Undef stat.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 28 Jul 1998 13:15:58 +0000 |
parents | 9d2a83c7b523 |
children | ffd45977c97f |
files | m4/utimes.m4 |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;