Bug#365780: gcc-4.1: FTBFS on amd64, sparc with "configure.in:2177: error: possibly undefined macro: AS_FOR_TARGET"
The patch ada-link-lib.dpatch changes the top-level configure.in, then
calls autoconf to regenerate configure. Autoconf then bails out with:
configure.in:2177: error: possibly undefined macro: AS_FOR_TARGET
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
make: *** [stamps/02-patch-stamp-ada-link-lib] Error 1
I'm not sure what is happening. One thing is for sure:
ada-link-lib.dpatch does not change anything related to AS_FOR_TARGET,
so the problem may be that we call the wrong version of autoconf.
(The top-level configure.in requires autoconf2.13 while the ones in
subdirectories require more recent versions. Oh, I hate autoconf.).
In any case, I think that a quick and easy fix would be to revive the
corresponding patch to configure (in ada-link-lib.dpatch), instead of