This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: 6.1: AC_CONFIG_SUBDIRS changes for autoconf 2.5x
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 10 May 2004 10:47:51 -0400
- Subject: Re: 6.1: AC_CONFIG_SUBDIRS changes for autoconf 2.5x
- References: <Pine.LNX.4.55.0404201634150.28193@jurand.ds.pg.gda.pl>
On Tue, Apr 20, 2004 at 04:54:39PM +0200, Maciej W. Rozycki wrote:
> Hello,
>
> Autoconf 2.5x requires AC_CONFIG_SUBDIRS arguments to be literals, to be
> able to handle `./configure --help=recursive'. Here's an appropriate
> change for gdb. I've maintained this patch since gdb 5.2 and autoconf
> 2.53 with no problems. I believe the change is neutral to autoconf 2.13.
Unfortunately it is not neutral to 2.13:
+case $testdir in
+ d10v-elf) subdirs="d10v-elf"
+ ;;
+ d30v-elf) subdirs="d10v-elf d30v-elf"
+ ;;
+ fr30-elf) subdirs="d10v-elf d30v-elf fr30-elf"
+ ;;
+ m32r-elf) subdirs="d10v-elf d30v-elf fr30-elf m32r-elf"
+ ;;
+ mips64el-elf) subdirs="d10v-elf d30v-elf fr30-elf m32r-elf mips64el-elf"
+ ;;
+ *) ;;
+esac
It does seem to work as expected for 2.5x, unsurprisingly.
> With these changes, the gdb subdir is working just fine for me with
> current autoconf (which is 2.59a from the CVS; 2.59 would work, too). I
> have changes for autoconf 2.59 available for sim as well, but they are
> probably incompatible to autoconf 2.13 -- I can submit them anyway if
> there's desire to convert sim to 2.5x at this time.
We've already got a mix of required autoconf versions for GDB, since
libiberty switched over last year. So I don't see a good reason to
stay with 2.13 if someone's gone and done all the necessary work to
upgrade us...
There were two autoconf patches in the list of patches for src/ you
sent me in April. Are they necessary? If so, would you ping the
autoconf maintainers about them again, please? Then we'd need to wait
for 2.60.
If no one sees a reason to wait, and the autoconf patches are not
necessary, I'll update the gdb directory to 2.5x and apply this patch
in a few days. I'll do sim also if you'll send me the remaining
changes you needed.
--
Daniel Jacobowitz