diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-21 07:26:38 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-21 07:26:38 +0000 |
commit | 0f7a044109b860443ecaa4f8a37652b1b4423057 (patch) | |
tree | b5834ed9867213221a2636e0fa7e8da178749a76 /m4/mkdir-slash.m4 | |
parent | 11fd62b0080ce376b26241bd789b7e7390befef6 (diff) | |
download | coreutils-0f7a044109b860443ecaa4f8a37652b1b4423057.tar.xz |
Remove from CVS, since the bootstrap script generates them automatically.
Diffstat (limited to 'm4/mkdir-slash.m4')
-rw-r--r-- | m4/mkdir-slash.m4 | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/m4/mkdir-slash.m4 b/m4/mkdir-slash.m4 deleted file mode 100644 index c1e595bbd..000000000 --- a/m4/mkdir-slash.m4 +++ /dev/null @@ -1,44 +0,0 @@ -#serial 4 - -# Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# On some systems, mkdir ("foo/", 0700) fails because of the trailing slash. -# On such systems, arrange to use a wrapper function that removes any -# trailing slashes. -AC_DEFUN([gl_FUNC_MKDIR_TRAILING_SLASH], -[dnl - AC_CACHE_CHECK([whether mkdir fails due to a trailing slash], - gl_cv_func_mkdir_trailing_slash_bug, - [ - # Arrange for deletion of the temporary directory this test might create. - ac_clean_files="$ac_clean_files confdir-slash" - AC_TRY_RUN([ -# include <sys/types.h> -# include <sys/stat.h> -# include <stdlib.h> - int main () - { - rmdir ("confdir-slash"); - exit (mkdir ("confdir-slash/", 0700)); - } - ], - gl_cv_func_mkdir_trailing_slash_bug=no, - gl_cv_func_mkdir_trailing_slash_bug=yes, - gl_cv_func_mkdir_trailing_slash_bug=yes - ) - ] - ) - - if test $gl_cv_func_mkdir_trailing_slash_bug = yes; then - AC_LIBOBJ(mkdir) - AC_DEFINE(mkdir, rpl_mkdir, - [Define to rpl_mkdir if the replacement function should be used.]) - gl_PREREQ_MKDIR - fi -]) - -# Prerequisites of lib/mkdir.c. -AC_DEFUN([gl_PREREQ_MKDIR], [:]) |