diff options
author | Bruno Haible <bruno@clisp.org> | 2020-12-25 18:39:47 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-12-25 18:39:47 +0100 |
commit | 2debee31183d819dab80fb68ead29ea34143e873 (patch) | |
tree | abd860ee2f49f9b65ae5b5bc3e8bff468edaed20 /modules | |
parent | 52c7413a808f2db9658e86183a122f3028ed88b8 (diff) | |
download | gnulib-2debee31183d819dab80fb68ead29ea34143e873.tar.gz |
Make it possible to turn off the mkdir override on Windows.
* lib/sys_stat.in.h (mkdir): Conditionalize through GNULIB_MKDIR and
GNULIB_MDA_MKDIR. Also support GNULIB_POSIXCHECK.
* m4/sys_stat_h.m4 (gl_SYS_STAT_H_DEFAULTS): Initialize GNULIB_MKDIR,
GNULIB_MDA_MKDIR.
* modules/sys_stat (Makefile.am): Substitute GNULIB_MKDIR,
GNULIB_MDA_MKDIR.
* modules/mkdir (configure.ac): Invoke gl_SYS_STAT_MODULE_INDICATOR.
* doc/posix-functions/mkdir.texi: Mention also the 'sys_stat' module.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mkdir | 1 | ||||
-rw-r--r-- | modules/sys_stat | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/modules/mkdir b/modules/mkdir index 2f1850c61b..fb24458a9a 100644 --- a/modules/mkdir +++ b/modules/mkdir @@ -15,6 +15,7 @@ gl_FUNC_MKDIR if test $REPLACE_MKDIR = 1; then AC_LIBOBJ([mkdir]) fi +gl_SYS_STAT_MODULE_INDICATOR([mkdir]) Makefile.am: diff --git a/modules/sys_stat b/modules/sys_stat index 6bf6b2998d..8a9adb5813 100644 --- a/modules/sys_stat +++ b/modules/sys_stat @@ -42,6 +42,7 @@ sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNU -e 's/@''GNULIB_GETUMASK''@/$(GNULIB_GETUMASK)/g' \ -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \ -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \ + -e 's/@''GNULIB_MKDIR''@/$(GNULIB_MKDIR)/g' \ -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \ -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \ -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \ @@ -51,6 +52,7 @@ sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNU -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \ -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GNULIB_OVERRIDES_STRUCT_STAT)/g' \ -e 's/@''GNULIB_MDA_CHMOD''@/$(GNULIB_MDA_CHMOD)/g' \ + -e 's/@''GNULIB_MDA_MKDIR''@/$(GNULIB_MDA_MKDIR)/g' \ -e 's/@''GNULIB_MDA_UMASK''@/$(GNULIB_MDA_UMASK)/g' \ -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ |