[PATCH] Rewrite testsuite/configure.in

Daniel Jacobowitz drow@mvista.com
Sat Dec 28 18:24:00 GMT 2002


On Sat, Dec 28, 2002 at 11:14:09PM +0100, Mark Kettenis wrote:
> Since we're talking about the transition to Autoconf 2.5x, I've
> started a cleanup of the various configure.in files in GDB.  The idea
> is to make the new configure.in files compatible with both Autoconf
> 2.13 and Autoconf 2.5x (where x=3 for now, since that's the version of
> Autoconf that's installed on my FreeBSD 4.7-RELEASE-p2 system that I
> use to hack on).  In the process I try to modernize the files as much
> as possible, such that the differences between the files and a true
> Autoconf 2.5x configure.ac will be minimal.
> 
> Attached is a patch that takes a stab at testsuite/configure.in.
> Processing this file with Autoconf 2.53 provokes the following
> warning:
> 
>    configure.in:114: warning: AC_CONFIG_SUBDIRS: you should use literals
> 
> which unfortunately is unavoidable.
> 
> Since the patch is a wee bit unreadable, here's the new configure.in verbatim:
> 
> #                                                       -*- Autoconf -*-
> # Process this file with autoconf to produce a configure script.


> If there are no objections, I'll check this in in a week or so.

No objections, but: do you think it's possible to eliminate the need to
configure in each individual subdir?  It's moderately annoying, and I
don't think we need it.  About the only thing we use it for now is for
"make clean" to clean up the testsuite directory.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list