Change gdb/common/ to use Automake [was: Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver]

Pedro Alves
2011-02-14T18:22:23Z

On Monday 14 February 2011, Tom Tromey wrote:

> Tom> This patch changes gdb/common/ to use Automake.

...

> It is vaguely bogus due to the dummy-config.h and PACKAGE_NAME stuff.
> Autoconf doesn't seem to let you turn this off, and we end up with
> conflicts. We can probably fix this more cleanly than I have below; I
> just want to get feedback on the idea before committing to that.

Is there any downside to this? My automake-foo is quite weak,
almost non-existant, so excuse me if this sounds dumb.

> +AM_INIT_AUTOMAKE([cygnus no-define no-dist -Wall])

Wasn't the cygnus mode deprecated? E.g., I see bfd/ stopped
using it in 2009.

I also realize that we lost -Werror under gdb/common/
with the switch to its own Makefile.

--
Pedro Alves