gdb configure updates
authorTom Tromey <tromey@redhat.com>
Tue, 5 Nov 2013 16:54:03 +0000 (09:54 -0700)
committerTom Tromey <tromey@redhat.com>
Fri, 8 Nov 2013 19:30:02 +0000 (12:30 -0700)
commit9467110bae19116ba041118b7d26d675e87506ce
treefe8157aa8c3f7ecad6c9804f5dbb1623bdeba9cb
parent6970667963f7f4df0fb185f7840ce8117ad44c4b
gdb configure updates

Now that the configury needed for the "common" and "target"
directories is in common.m4, some code in gdb's configure.ac is
redundant.

I ran this script after making an "ID" file using mkid:

   sed -n 's/^.*\(HAVE_[A-Z0-9_]*\).*$/\1/p' config.in |
   while read x; do
     echo ===== $x
     gid $x | egrep -v '^(testsuite|gnulib|common|target|gdbserver)/'
   done

This finds all the spots using HAVE_ defines, and, more importantly,
makes it clear which defines aren't used in the main parts of gdb.

From this I came up with this patch to remove all the unused bits.

There are a few that are subtly used -- for example the configure
script sometimes checks internal configure cache variables, meaning
some checks cannot be removed.

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

* configure, config.in: Rebuild.
* configure.ac: Remove unused configury.
gdb/ChangeLog
gdb/config.in
gdb/configure
gdb/configure.ac
This page took 0.025895 seconds and 4 git commands to generate.