From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9032 invoked by alias); 31 May 2002 00:31:37 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 8930 invoked from network); 31 May 2002 00:31:32 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 31 May 2002 00:31:32 -0000 Received: from greed.delorie.com (cse.sfbay.redhat.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id RAA00876; Thu, 30 May 2002 17:31:27 -0700 (PDT) Received: (from dj@localhost) by greed.delorie.com (8.11.6/8.11.6) id g4V0VQx26201; Thu, 30 May 2002 20:31:26 -0400 Date: Thu, 30 May 2002 17:49:00 -0000 Message-Id: <200205310031.g4V0VQx26201@greed.delorie.com> From: DJ Delorie To: neroden@doctormoo.dyndns.org CC: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com, binutils@sources.redhat.com In-reply-to: <20020530233738.GA18997@doctormoo.dyndns.org> (message from Nathanael Nerode on Thu, 30 May 2002 19:37:38 -0400) Subject: Re: [patch] toplevel configure.in: topsrcdir->srcdir References: <20020530180657.GA3212@doctormoo.dyndns.org> <200205301843.g4UIh7s21990@greed.delorie.com> <20020530233738.GA18997@doctormoo.dyndns.org> X-SW-Source: 2002-05/txt/msg01038.txt.bz2 > 'topsrcdir' always refers to the top level directory where 'configure' > is located. When 'configure.in' in the top directory is being run, > srcdir is normally the same directory. In a subdirectory, srcdir and > topsrcdir differ, but not at the top level. The case I'm worried about is a src=build cross. In that case, configure builds a whole new source tree! So we must make sure that it doesn't run the toplevel configure that it may copy to some other directory, or if it does, that topsrcdir refers to the original toplevel, not the newly copied one. I don't think it should do this (it should only copy subdirectories) but this is one of the cases that often goes unworking for long periods.