[Mesa-dev] [PATCH 01/19] automake: Don't warn on gmake portability issues.

Eric Anholt eric at anholt.net
Wed Jun 13 11:20:09 PDT 2012


On Wed, 13 Jun 2012 10:45:02 -0700, Dan Nicholson <dbn.lists at gmail.com> wrote:
> On 6/13/12, Eric Anholt <eric at anholt.net> wrote:
> > Even pre-automake, we rely on gmake features for pattern
> > substitutions, and replacing those with reams more make code is not
> > interesting.  This will let us turn the old Makefiles using pattern
> > substitutions into automake without spewing warnings.
> > ---
> >  configure.ac |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/configure.ac b/configure.ac
> > index 29ee87b..19c5111 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -10,7 +10,7 @@ AC_INIT([Mesa], [8.1.0],
> >      [https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa])
> >  AC_CONFIG_AUX_DIR([bin])
> >  AC_CANONICAL_HOST
> > -AM_INIT_AUTOMAKE([foreign -Wall])
> > +AM_INIT_AUTOMAKE([foreign])
> >
> >  dnl http://people.gnome.org/~walters/docs/build-api.txt
> >  dnl We don't support srcdir != builddir.
> 
> Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>
> 
> Like I was saying yesterday, if there are other useful warnings in
> -Wall, you can specifically turn off the gmake warning by adding
> -Wno-portability. I think this is fine, though.

http://www.gnu.org/software/automake/manual/automake.html#automake-Invocation

So, default is syntax/unsupported.  we don't want
portability/extra-portability/gnu.  That leaves obsolete/override, which
don't sound like interesting things to hear about.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120613/03e3ea78/attachment-0001.pgp>


More information about the mesa-dev mailing list