[DVDnav-discuss] [PATCH]es

Dan Nicholson dbn.lists at gmail.com
Thu Jun 5 16:36:59 CEST 2008


On Thu, Jun 5, 2008 at 6:27 AM, Nico Sabbi <Nicola.Sabbi at poste.it> wrote:
> On Thursday 05 June 2008 15:17:05 Dan Nicholson wrote:
>>
>> Sorry for starting an argument, but I think you're being
>> shortsighted. I'm curious, why don't you like the autotools?
>>
>
> because they create absolutely unmaintainable and unreviewable
> Makefiles and they macro stuff is impossible to edit and extend
> easily

You definitely don't want to be reading the generated Makefile or
configure. That way lies madness. The generated Makefile is only
useful for debugging automake. You just have to trust that automake
will generate a useful Makefile if you give it sane inputs, which it
will. Any focus should be on Makefile.am and configure.ac. I use the
autotools quite a bit and I rarely ever look at the generated files.

Also, why do you need to edit or extend any macros (I assume you're
talking about autoconf macros)? For libdvdnav, all you have is one
shared library and one internal/external library. Really, it should
just need autoconf boilerplate plus one switch for internal/external
and one AM_CONDITIONAL to control the build. Everything else is just
shell scripting in configure.ac.

--
Dan



More information about the DVDnav-discuss mailing list