This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]