This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR 32272: Error out if building separately but srcdir has build remnants.
* DJ Delorie wrote on Tue, Sep 22, 2009 at 07:42:52AM CEST:
>
> > Well, existence of config.status will cause configure to complain
> > already.
>
> Can we put this new logic near that old logic?
Complaint about existing config.status in $srcdir comes straight from
Autoconf code. The test for host-$host is in GCC_TOPLEV_SUBDIRS which
is why I put the code nearby. (I can't put it inside GCC_TOPLEV_SUBDIRS
right away because that is used in other configure.ac files as well.)
Thanks,
Ralf