[lttng-dev] [PATCH babeltrace] Replace AM_PROG_MKDIR obsolete macro with AC_PROG_MKDIR_P

Christian Babeux christian.babeux at efficios.com
Sat Mar 23 14:47:55 EDT 2013


The bootstrap script is complaining with a deprecation warning [1] for
the AM_PROG_MKDIR_P Automake macro.

Relevant bootstrap output:

configure.ac:13: warning: The 'AM_PROG_MKDIR_P' macro is deprecated,
		 and will soon be removed.
configure.ac:13: You should use the Autoconf-provided 'AC_PROG_MKDIR_P'
		 macro instead,
configure.ac:13: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your
		 Makefile.am files.

Fix this by updating configure.ac with the proposed AC_PROG_MKDIR_P macro.

[1] - https://www.gnu.org/software/automake/manual/html_node/Obsolete-Macros.html

Signed-off-by: Christian Babeux <christian.babeux at efficios.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index b96e09f..cc23f5a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,7 +10,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 AC_CONFIG_MACRO_DIR([m4])
 
-AM_PROG_MKDIR_P
+AC_PROG_MKDIR_P
 
 AC_CONFIG_HEADERS([config.h])
 
-- 
1.8.2




More information about the lttng-dev mailing list