From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31627 invoked by alias); 1 Aug 2012 10:59:18 -0000 Received: (qmail 31619 invoked by uid 22791); 1 Aug 2012 10:59:17 -0000 X-SWARE-Spam-Status: No, hits=-7.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,TW_DJ,TW_GP,TW_JG,TW_SD,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Aug 2012 10:58:58 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q71AwrTA003099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 1 Aug 2012 06:58:53 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q71AwqpO013905; Wed, 1 Aug 2012 06:58:53 -0400 Message-ID: <50190BEB.7040306@redhat.com> Date: Wed, 01 Aug 2012 10:59:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: Yao Qi CC: gdb-patches@sourceware.org Subject: Re: [readline, djgpp] Check $build_os instead of $host_os in configure References: <1343817987-460-1-git-send-email-yao@codesourcery.com> In-Reply-To: <1343817987-460-1-git-send-email-yao@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00014.txt.bz2 On 08/01/2012 11:46 AM, Yao Qi wrote: > Hi, > When I configure gdb as '--host=i586-pc-msdosdjgpp --target=i586-pc-msdosdjgpp' > on x86-linux, I get following configure error in readline. > > readline/configure: line 6268: pwd.exe: command not found > > Looks like the configure script should check $build_os instead of > $host_os. This patch is to fix this problem. Is it OK? Thanks. We'd like to avoid accumulating more local readline patches. Can you submit this upstream first (bug-readline at gnu.org) ? Once it gets accepted upstream, we can apply it locally as well. > Note that I am not sure that AC_CANONICAL_BUILD is necessary here, because > after I add it in configure.in, the re-generated configure is nearly > unchanged. -- Pedro Alves