[PATCH] build: Silence libtoolize warnings

Pekka Paalanen ppaalanen at gmail.com
Wed Jun 18 23:47:08 PDT 2014


On Wed, 18 Jun 2014 16:28:45 -0700
Kristian Høgsberg <hoegsberg at gmail.com> wrote:

> 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

Hi,

I suppose this patch is responsible for
https://bugs.freedesktop.org/show_bug.cgi?id=80214
right?

Is all we need just to add an "empty" m4/ directory to the Weston tree?


Thanks,
pq


More information about the wayland-devel mailing list