<p>On Feb 19, 2012 7:39 PM, "Tom Stellard" <<a href="mailto:tstellar@gmail.com">tstellar@gmail.com</a>> wrote:<br>
><br>
> On Sun, Feb 19, 2012 at 10:13:48PM -0500, Matt Turner wrote:<br>
> > Hi Tom,<br>
> ><br>
> > Very happy to see this. It looks good, and I'm glad that you replaced<br>
> > two Makefiles with only a single Makefile.am. A couple of comments<br>
> > below.<br>
> ><br>
> > On Sun, Feb 19, 2012 at 10:05 PM, Tom Stellard <<a href="mailto:tstellar@gmail.com">tstellar@gmail.com</a>> wrote:<br>
> > > ---<br>
> > > <a href="http://configure.ac">configure.ac</a> | 1 +<br>
> > > src/gallium/drivers/r300/.gitignore | 5 ++<br>
> > > src/gallium/drivers/r300/Makefile | 25 ---------<br>
> > > src/gallium/drivers/r300/Makefile.am | 38 ++++++++++++++<br>
> > > src/gallium/drivers/r300/compiler/tests/.gitignore | 1 -<br>
> > > src/gallium/drivers/r300/compiler/tests/Makefile | 53 --------------------<br>
> > > 6 files changed, 44 insertions(+), 79 deletions(-)<br>
> > > create mode 100644 src/gallium/drivers/r300/.gitignore<br>
> > > delete mode 100644 src/gallium/drivers/r300/Makefile<br>
> > > create mode 100644 src/gallium/drivers/r300/Makefile.am<br>
> > > delete mode 100644 src/gallium/drivers/r300/compiler/tests/.gitignore<br>
> > > delete mode 100644 src/gallium/drivers/r300/compiler/tests/Makefile<br>
> > ><br>
> > > diff --git a/<a href="http://configure.ac">configure.ac</a> b/<a href="http://configure.ac">configure.ac</a><br>
> > > index 846b623..85da4d3 100644<br>
> > > --- a/<a href="http://configure.ac">configure.ac</a><br>
> > > +++ b/<a href="http://configure.ac">configure.ac</a><br>
> > > @@ -1871,6 +1871,7 @@ if test "x$with_gallium_drivers" != x; then<br>
> > > gallium_require_llvm "Gallium R300"<br>
> > > GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS r300"<br>
> > > gallium_check_st "radeon/drm" "dri-r300" "xorg-r300" "" "xvmc-r300" "vdpau-r300" "va-r300"<br>
> > > + AC_CONFIG_FILES([src/gallium/drivers/r300/Makefile])<br>
> ><br>
> > Just add this to the existing AC_CONFIG_FILES around line 1934.<br>
> ><br>
><br>
> I put it here so the Makefile would only be generated if the r300 driver<br>
> was actually being built. Is there any advantage to generating all the<br>
> Makefiles unconditionally?</p>
<p>I think autoconf will fill in anything it finds in AC_CONFIG_FILES regardless. There's no real harm.</p>
<p>--<br>
Dan </p>