GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / toolchains / hndtools-arm-linux-2.6.36-uclibc-4.5.3 / share / aclocal-1.11 / mkdirp.m4
blobbe8a9de5d685a882e051b4ba595c039469c232c9
1 ##                                                          -*- Autoconf -*-
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.
8 # AM_PROG_MKDIR_P
9 # ---------------
10 # Check for `mkdir -p'.
11 AC_DEFUN([AM_PROG_MKDIR_P],
12 [AC_PREREQ([2.60])dnl
13 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
14 dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
15 dnl while keeping a definition of mkdir_p for backward compatibility.
16 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
17 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
18 dnl Makefile.ins that do not define MKDIR_P, so we do our own
19 dnl adjustment using top_builddir (which is defined more often than
20 dnl MKDIR_P).
21 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
22 case $mkdir_p in
23   [[\\/$]]* | ?:[[\\/]]*) ;;
24   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
25 esac