Error in patch to not use lang/Makefile.in
Zack Weinberg
zackw@stanford.edu
Sat Nov 11 17:15:00 GMT 2000
On Sat, Nov 11, 2000 at 07:56:14PM -0500, Richard Kenner wrote:
> This part of this change:
>
> 2000-10-27 Zack Weinberg <zack@wolery.stanford.edu>
>
> * configure.in: Do not include $srcdir/$s/Makefile.in in
> all_lang_makefiles, but do include $outputs.
>
> is wrong.
>
> $outputs will be language/Makefile, but this is going to become a dependency
> for Makefile, but the latter is made first. Hence this is an infinte loop.
Argh. I had thought $outputs would be language/Makefile.in, but of
course it isn't.
Please try this patch.
zw
* configure.in: Don't add $outputs to all_lang_makefiles. Add
$srcdir/$s/Makefile.in if it exists.
===================================================================
Index: configure.in
--- configure.in 2000/11/10 17:23:06 1.446
+++ configure.in 2000/11/12 01:11:00
@@ -5033,7 +5033,10 @@ do
echo "${srcdir}/$s/config-lang.in doesn't set \$language." 1>&2
exit 1
fi
- all_lang_makefiles="$all_lang_makefiles ${srcdir}/$s/Make-lang.in $outputs"
+ all_lang_makefiles="$all_lang_makefiles ${srcdir}/$s/Make-lang.in"
+ if test -f ${srcdir}/$s/Makefile.in
+ then all_lang_makefiles="$all_lang_makefiles ${srcdir}/$s/Makefile.in"
+ fi
all_languages="$all_languages $language"
if test "x$boot_language" = xyes
then
More information about the Gcc-patches
mailing list