]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Renamed from makepath.m4.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Jun 2005 04:57:31 +0000 (04:57 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Jun 2005 04:57:31 +0000 (04:57 +0000)
(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.

m4/mkdir-p.m4 [new file with mode: 0644]

diff --git a/m4/mkdir-p.m4 b/m4/mkdir-p.m4
new file mode 100644 (file)
index 0000000..a92e66a
--- /dev/null
@@ -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])
+])