[PATCH] build: Silence libtoolize warnings

Kristian Høgsberg hoegsberg at gmail.com
Wed Jun 18 16:28:45 PDT 2014


On Tue, May 27, 2014 at 09:07:54AM +0200, Thierry Reding wrote:
> From: Thierry Reding <treding at nvidia.com>
> 
> When running the autogen.sh script, libtoolize complains thusly:
> 
> 	libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
> 	libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
> 	libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> 
> Silence the warnings by following libtoolize's advice.
> 
> Signed-off-by: Thierry Reding <treding at nvidia.com>

Thanks, patch applied.

Kristian

> ---
>  Makefile.am  | 2 ++
>  configure.ac | 1 +
>  2 files changed, 3 insertions(+)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 240a50773166..c8ffa96d5771 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -1,3 +1,5 @@
> +ACLOCAL_AMFLAGS = -I m4
> +
>  bin_PROGRAMS =
>  noinst_PROGRAMS =
>  libexec_PROGRAMS =
> diff --git a/configure.ac b/configure.ac
> index 5b9a51855e62..a88626595eee 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -18,6 +18,7 @@ AC_SUBST([WESTON_VERSION], [weston_version])
>  
>  AC_CONFIG_AUX_DIR([build-aux])
>  AC_CONFIG_HEADERS([config.h])
> +AC_CONFIG_MACRO_DIR([m4])
>  
>  AC_USE_SYSTEM_EXTENSIONS
>  AC_SYS_LARGEFILE
> -- 
> 1.9.2
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list