summaryrefslogtreecommitdiff
path: root/m4/mkdir-p.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-06-02 04:57:31 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-06-02 04:57:31 +0000
commit0402bc11366bd7f3a86ea21c64d55e34b6f67e1b (patch)
tree17def09fb7afc61577b3b0904ba63f71ee3625e2 /m4/mkdir-p.m4
parent6499782f2e4df6796388eece65d14c4529256cc2 (diff)
downloadcoreutils-0402bc11366bd7f3a86ea21c64d55e34b6f67e1b.tar.xz
Renamed from makepath.m4.
(gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed. Rename files from makepath.c to mkdir-p.c, and from makepath.h to mkdir-p.h.
Diffstat (limited to 'm4/mkdir-p.m4')
-rw-r--r--m4/mkdir-p.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/m4/mkdir-p.m4 b/m4/mkdir-p.m4
new file mode 100644
index 000000000..a92e66a38
--- /dev/null
+++ b/m4/mkdir-p.m4
@@ -0,0 +1,16 @@
+# mkdir-p.m4 serial 8
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_MKDIR_PARENTS],
+[
+ AC_LIBSOURCES([mkdir-p.c, mkdir-p.h])
+ AC_LIBOBJ([mkdir-p])
+
+ dnl Prerequisites of lib/mkdir-p.c.
+ AC_REQUIRE([AC_FUNC_ALLOCA])
+ AC_CHECK_HEADERS_ONCE(unistd.h)
+ AC_REQUIRE([gl_AFS])
+])