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: RFC: introduce common.m4


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> What's the advantage of doing it this way?  Caching?  Doesn't autoconf
Pedro> use the cached value if there are multiple AC_CHECK_FOOs for the same
Pedro> thing?  Not super sure I like this over keeping each directory aware
Pedro> of its dependencies, but I suppose I can go along.

The advantage is in maintenance.  Right now one must remember to update
both gdb and gdbserver configure scripts in parallel.

>> This process revealed a few things not checked for in gdbserver
>> (nothing too crucial I think) and also that the decl check for getopt
>> was dead.

Pedro> Ah, an "also".  ;-)

Yeah.  I'll split it out.

>> gdbserver:
>> * acinclude.m4: Include common.m4, codeset.m4.

Pedro> codeset.m4?

It was needed for the AM_LANGINFO_CODESET call, which was needed for
HAVE_LANGINFO_CODESET.

Tom


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