Re: [readline, djgpp] Check $build_os instead of $host_os in configure

Pedro Alves
2012-08-01T10:59:18Z

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