Skip to contentSkip to conversation

Replace AM_PROG_MKDIR obsolete macro with AC_PROG_MKDIR_P

PATCH Mathieu Desnoyers 1 participant 1 message Mar 23, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mathieu Desnoyers

author Applied
#1 lore raw
Quoted 2 lines · * Christian Babeux ([email protected]) wrote:

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

Merged, thanks!

Mathieu

Quoted 35 lines

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

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
index b96e09f..cc23f5a 100644
@@ -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])
 
Signature · 1 line
1.8.2
Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com