This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: introduce common.m4
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 24 Apr 2013 12:58:15 -0600
- Subject: Re: RFC: introduce common.m4
- References: <871u9zomzd dot fsf at fleche dot redhat dot com> <51782A71 dot 7030305 at redhat dot com>
>>>>> "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