From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7524 invoked by alias); 1 Aug 2012 14:49:35 -0000 Received: (qmail 7515 invoked by uid 22791); 1 Aug 2012 14:49:33 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL,TW_DJ,TW_GP,TW_JG,TW_SD X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Aug 2012 14:49:19 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M8200K00ZSRQC00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Wed, 01 Aug 2012 17:49:17 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M8200K0SZU4ARA0@a-mtaout22.012.net.il>; Wed, 01 Aug 2012 17:49:16 +0300 (IDT) Date: Wed, 01 Aug 2012 14:49:00 -0000 From: Eli Zaretskii Subject: Re: [readline, djgpp] Check $build_os instead of $host_os in configure In-reply-to: <1343817987-460-1-git-send-email-yao@codesourcery.com> To: Yao Qi Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <837gtiekgt.fsf@gnu.org> References: <1343817987-460-1-git-send-email-yao@codesourcery.com> X-IsSubscribed: yes 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/msg00026.txt.bz2 > From: Yao Qi > Date: Wed, 1 Aug 2012 18:46:27 +0800 > > 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? Fine with me, if you need my approval.