Replace AM_PROG_MKDIR obsolete macro with AC_PROG_MKDIR_P
authorChristian Babeux <christian.babeux@efficios.com>
Sat, 23 Mar 2013 23:00:37 +0000 (19:00 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 23 Mar 2013 23:00:37 +0000 (19:00 -0400)
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@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac

index b96e09fee24abd647e54aa2c99bae0d950f26d57..cc23f5a421e539cca2b9d739fbaac22496661e07 100644 (file)
@@ -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])
 
This page took 0.026133 seconds and 4 git commands to generate.