introduce common.m4
authorTom Tromey <tromey@redhat.com>
Wed, 24 Apr 2013 16:45:45 +0000 (10:45 -0600)
committerTom Tromey <tromey@redhat.com>
Fri, 8 Nov 2013 19:29:26 +0000 (12:29 -0700)
commit3266f10be2daf35319101f299ae988aa2bbd5297
treee630e7c209a981097d1398996f40518cdf55810f
parentdb0fec5c4881dc2e65eeba47cd574379c03a4cf4
introduce common.m4

It has bothered me for a while that files in common/ use macros
defined via autoconf checks, but rely on each configure.ac doing the
proper checks independently.

This patch introduces common/common.m4 which consolidates the checks
assumed by code in common.

The rule I propose is that if something is needed or used by common,
it should be checked for by common.m4.  However, if the check is also
needed by gdb or gdbserver, then it should be duplicated there.

Built and regtested on x86-64 Fedora 18 (though this is hardly the
most strenuous case) and using the Fedora 18 mingw cross compilers.  I
also examined the config.in diffs to ensure that symbols did not go
missing.

2013-11-08  Tom Tromey  <tromey@redhat.com>

* acinclude.m4: Include common.m4.
* common/common.m4: New file.
* configure, config.in: Rebuild.
* configure.ac: Use GDB_AC_COMMON.

2013-11-08  Tom Tromey  <tromey@redhat.com>

* acinclude.m4: Include common.m4, codeset.m4.
* configure, config.in: Rebuild.
* configure.ac: Use GDB_AC_COMMON.
gdb/ChangeLog
gdb/acinclude.m4
gdb/common/common.m4 [new file with mode: 0644]
gdb/configure
gdb/configure.ac
gdb/gdbserver/ChangeLog
gdb/gdbserver/acinclude.m4
gdb/gdbserver/config.in
gdb/gdbserver/configure
gdb/gdbserver/configure.ac
This page took 0.025925 seconds and 4 git commands to generate.