When I clone binutils-gdb.git to ./binutils and run build in the same directory, the build failed: % git clone https://sourceware.org/git/binutils-gdb.git binutils % ./binutils/configure % make ..... make[2]: Entering directory '...../binutils' Makefile:26: *** missing separator. Stop. make[2]: Leaving directory '...../binutils' make[1]: *** [Makefile:4045: all-binutils] Error 2 make[1]: Leaving directory '.....' make: *** [Makefile:1004: all] Error 2
Don't do that then. That is, don't try to build binutils-gdb in a directory containing the source called binutils. It is just too confusing to have a source dir binutils/ that is also the build dir for binutils/binutils.
Why don't you want to fix the configure script and report this limitation ?
Someone once said that trying to make things foolproof underestimates the ingenuity of fools. I am not calling you a fool, just saying that it is a real time waster trying to fix this sort of bug.