Add an AC_PROG_MKDIR_P backport.
authorBruno Haible <bruno@clisp.org>
Mon, 22 Jan 2007 00:13:19 +0000 (00:13 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 22 Jan 2007 00:13:19 +0000 (00:13 +0000)
ChangeLog
m4/gnulib-common.m4

index 11c6a50bc6d0a7e548e4196cae981ad3410de070..e6801d6a07aec685a60ceb3677666d65201971ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-21  Bruno Haible  <bruno@clisp.org>
+
+       * m4/gnulib-common.m4 (AC_PROG_MKDIR_P): New macro.
+
 2007-01-21  Bruno Haible  <bruno@clisp.org>
 
        * modules/striconveha: New file.
index be4cb3389d3ed67bba8484f3b82679ba6bd3a770..539801080da2ce91b8b13e5643d7c0c3fd494db3 100644 (file)
@@ -1,4 +1,4 @@
-# gnulib-common.m4 serial 1
+# gnulib-common.m4 serial 2
 dnl Copyright (C) 2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -11,3 +11,12 @@ AC_DEFUN([gl_MODULE_INDICATOR],
   AC_DEFINE([GNULIB_]translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [1],
     [Define to 1 when using the gnulib module ]$1[.])
 ])
+
+# AC_PROG_MKDIR_P
+# is a backport of autoconf-2.60's AC_PROG_MKDIR_P.
+# Remove this macro when we can assume autoconf >= 2.60.
+m4_ifdef([AC_PROG_MKDIR_P], [], [
+  AC_DEFUN([AC_PROG_MKDIR_P],
+    [AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
+     MKDIR_P='$(mkdir_p)'
+     AC_SUBST([MKDIR_P])])])