Remove gdb/testsuite/configure
authorTom Tromey <tromey@adacore.com>
Tue, 1 Jun 2021 14:11:30 +0000 (08:11 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 1 Jun 2021 14:11:30 +0000 (08:11 -0600)
commitf99d1d37496f3af263e0761c2fd330e62599f383
tree6d2c707eeb75b85b7b7d99e3663a57e492cdda74
parent17d305ef8f4b5bf20beaaad427490b3c6773909b
Remove gdb/testsuite/configure

I didn't see a strong reason to have a separate configure script in
gdb/testsuite, so this patch removes it.  The few relevant configury
bits are moved into gdb's configure script.  Some of the old
testsuite/configure script (e.g., the header check) is dead code.

This also adds a Makefile rule to rebuild lib/pdtrace.  This was
missing from the old code.

'read1' is now a dependency of check-read1, rather than extra code at
configure time.

Finally, the old "ENABLE_LIBCTF" subst in gdb/configure was not used;
nor was the variable defined, so this was always empty.  However, the
lower-case variant was used by the testsuite, so this patch renames
the subst.

gdb/ChangeLog
2021-06-01  Tom Tromey  <tromey@adacore.com>

* configure.ac: Copy some code from testsuite/configure.ac.
(enable_libctf): Subst this, not ENABLE_LIBCTF.
* configure: Rebuild.

gdb/testsuite/ChangeLog
2021-06-01  Tom Tromey  <tromey@adacore.com>

* aclocal.m4, configure.ac, configure: Remove.
* Makefile.in (EXTRA_RULES): Remove.
($(abs_builddir)/site.exp site.exp): Don't depend on
config.status.
(distclean maintainer-clean realclean, Makefile): Update.
(config.status): Remove target.
(lib/pdtrace): New target.
(all): Don't depend on EXTRA_RULES.
(check-read1): Depend on read1.so, expect-read1.
gdb/ChangeLog
gdb/configure
gdb/configure.ac
gdb/testsuite/ChangeLog
gdb/testsuite/Makefile.in
gdb/testsuite/aclocal.m4 [deleted file]
gdb/testsuite/configure [deleted file]
gdb/testsuite/configure.ac [deleted file]
This page took 0.024918 seconds and 4 git commands to generate.