X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fsys_stat.m4;h=937eb3853025d42f7b92b4b2300fcab789b91873;hp=b29323244ae391f470e4c9b4fa6ac5671d939006;hb=81b71a515e2024cee739deb6e207eb3b0e7c5d64;hpb=909538f1f2bced261965d97596a5adb06e916db9 diff --git a/m4/sys_stat.m4 b/m4/sys_stat.m4 index b293232..937eb38 100644 --- a/m4/sys_stat.m4 +++ b/m4/sys_stat.m4 @@ -1,4 +1,4 @@ -AC_DEFUN(PSI_CHECK_SYS_STAT, [ +PSI_CHECK_SYS_STAT() { AC_CHECK_HEADERS([sys/stat.h]) PSI_STRUCT(struct stat, [ @@ -49,6 +49,7 @@ AC_DEFUN(PSI_CHECK_SYS_STAT, [ PSI_CONST(S_IXOTH, int) PSI_CONST(S_ISUID, int) PSI_CONST(S_ISGID, int) + PSI_CONST(S_ISVTX, int) PSI_CONST(UTIME_NOW, int) PSI_CONST(UTIME_OMIT, int) @@ -81,4 +82,4 @@ AC_DEFUN(PSI_CHECK_SYS_STAT, [ PSI_DECL(int stat, [(char *path, struct stat *buf)]) PSI_DECL(mode_t umask, [(mode_t mode)]) PSI_DECL(int utimensat, [(int fd, char *path, struct timespec times@<:@2@:>@, int flag)]) -]) +}