[lttng-dev] [PATCH babeltrace] Replace AM_PROG_MKDIR obsolete macro with AC_PROG_MKDIR_P
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Sat Mar 23 19:03:27 EDT 2013
* Christian Babeux (christian.babeux at efficios.com) wrote:
> The bootstrap script is complaining with a deprecation warning [1] for
> the AM_PROG_MKDIR_P Automake macro.
Merged, thanks!
Mathieu
>
> 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
>
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list