2 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
10 # Check for `mkdir -p'.
11 AC_DEFUN([AM_PROG_MKDIR_P],
13 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
14 dnl Automake 1.8 to 1.9.6 used to define mkdir_p.
15 dnl We now use MKDIR_P, while keeping a definition of mkdir_p for
16 dnl backward compatibility. Do not define mkdir_p as $(MKDIR_P) for
17 dnl the sake of Makefile.ins that do not define MKDIR_P.
18 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl