summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2010-05-05 01:00:39 +0200
committerAndreas Gruenbacher <agruen@suse.de>2010-05-05 01:00:39 +0200
commita78d3c405b8c65caa847d98dff71584b6e20203c (patch)
treef8ddb300e90ce13f932e25f93c8e607176ba526b /m4
parentad76f672858d3c566035eee6390382d717775b3b (diff)
downloadpatch-a78d3c405b8c65caa847d98dff71584b6e20203c.tar.gz
Use the gnulib mkdir module
* bootstrap.conf: Use the gnulib mkdir module. * m4/mkdir.m4: Delete.
Diffstat (limited to 'm4')
-rw-r--r--m4/mkdir.m440
1 files changed, 0 insertions, 40 deletions
diff --git a/m4/mkdir.m4 b/m4/mkdir.m4
deleted file mode 100644
index 9d8c4ca..0000000
--- a/m4/mkdir.m4
+++ /dev/null
@@ -1,40 +0,0 @@
-#serial 2
-
-dnl From Mumit Khan and Paul Eggert
-dnl Determine whether mkdir accepts only one argument instead of the usual two.
-
-AC_DEFUN([PATCH_FUNC_MKDIR_TAKES_ONE_ARG],
- [AC_CHECK_FUNCS(mkdir)
- AC_CACHE_CHECK([whether mkdir takes only one argument],
- patch_cv_mkdir_takes_one_arg,
- [patch_cv_mkdir_takes_one_arg=no
- if test $ac_cv_func_mkdir = yes; then
- AC_TRY_COMPILE([
-#include <sys/types.h>
-#include <sys/stat.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
- ],
- [mkdir (".", 0);],
- ,
- [AC_TRY_COMPILE([
-#include <sys/types.h>
-#include <sys/stat.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
- ],
- [mkdir (".");],
- patch_cv_mkdir_takes_one_arg=yes
- )]
- )
- fi
- ]
- )
- if test $patch_cv_mkdir_takes_one_arg = yes; then
- AC_DEFINE([MKDIR_TAKES_ONE_ARG], 1,
- [Define if mkdir takes only one argument.])
- fi
- ]
-)