This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [readline, djgpp] Check $build_os instead of $host_os in configure
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 01 Aug 2012 11:58:51 +0100
- Subject: Re: [readline, djgpp] Check $build_os instead of $host_os in configure
- References: <1343817987-460-1-git-send-email-yao@codesourcery.com>
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