Lines Matching refs:stat
14 dnl mingw is the only known platform where stat(".") and stat("./") differ
15 AC_CACHE_CHECK([whether stat handles trailing slashes on directories],
19 [[#include <sys/stat.h>
20 ]], [[struct stat st; return stat (".", &st) != stat ("./", &st);]])],
26 dnl AIX 7.1, Solaris 9, mingw64 mistakenly succeed on stat("file/").
27 dnl (For mingw, this is due to a broken stat() override in libmingwex.a.)
28 dnl FreeBSD 7.2 mistakenly succeeds on stat("link-to-file/").
29 AC_CACHE_CHECK([whether stat handles trailing slashes on files],
38 [[#include <sys/stat.h>
40 struct stat st;
41 if (!stat ("conftest.tmp/", &st))
44 if (!stat ("conftest.lnk/", &st))
60 AC_DEFINE([REPLACE_FUNC_STAT_DIR], [1], [Define to 1 if stat needs
65 AC_DEFINE([REPLACE_FUNC_STAT_FILE], [1], [Define to 1 if stat needs
70 # Prerequisites of lib/stat.c.