From 6f87a45d7a95e72e3a1ab56cdb000d8eb0720c0d Mon Sep 17 00:00:00 2001 From: Christian Engwer <christi@dune-project.org> Date: Sat, 6 Oct 2012 17:36:01 +0000 Subject: [PATCH] Use AC_PROG_MKDIR_P and MKDIR_P AM_PROG_MKDIR_P is deprecated; see `Obsolete Macros' in the automake manual Kudos to Elias Pipping [[Imported from SVN: r7029]] --- am/documentation | 2 +- m4/dune_common.m4 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/am/documentation b/am/documentation index 06ac79927..16aa0cb07 100644 --- a/am/documentation +++ b/am/documentation @@ -51,7 +51,7 @@ doc-clean-documentation: install-documentation: $(DOCFILES) install-documentation-local @$(NORMAL_INSTALL) - test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)" + test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" @list='$(DOCFILES) $(DOCFILES_EXTRA)'; test -n "$(docdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ diff --git a/m4/dune_common.m4 b/m4/dune_common.m4 index 9a1ea23c7..3729daf68 100644 --- a/m4/dune_common.m4 +++ b/m4/dune_common.m4 @@ -14,8 +14,8 @@ AC_DEFUN([DUNE_COMMON_CHECKS], AC_REQUIRE([AC_PROG_AWK]) AC_REQUIRE([ACX_LAPACK]) AC_REQUIRE([AC_FC_WRAPPERS]) - # defined $(mkdir_p), which is required during install - AC_REQUIRE([AM_PROG_MKDIR_P]) + # defined $(MKDIR_P), which is required during install + AC_REQUIRE([AC_PROG_MKDIR_P]) AC_REQUIRE([DUNE_CHECK_COMPILER]) AC_REQUIRE([GXX0X]) -- GitLab