This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Change gdb/common/ to use Automake


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

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

To my hack?  Yeah -- if we add AC_DEFINEs to common/configure.ac, they
won't propagate to the code.

We can fix this by #including the common/config.h first, then #undef'ing
the stuff that autoconf forces us to have.

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

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

Hah, shows what I know.
Maybe `foreign' is more appropriate now, I can check into it if this
idea seems ok.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]