[PATCH 2 of 2] companion_tools/autoconf: add autoconf tool
Richard Strand
richard.strand@icomera.com
Mon Jan 11 19:57:00 GMT 2010
Yann E. MORIN wrote:
>> + mkdir -p "${CT_BUILD_DIR}/build-autoconf"
>> + CT_Pushd "${CT_BUILD_DIR}/build-autoconf"
>> + CT_DoExecLog ALL ${CONFIG_SHELL} \
>>
>
> Directly call ./configure, do not use CT_CONFIG_SHELL. It's the
> responsibility of ./configure to use CONFIG_SHELL (note there's
> no leading CT_) internally. CONFIG_SHELL is correctly set and
> exported.
>
I know this is how it is supposed to work, but CONFIG_SHELL actually
seems to cause problems on my system.
I am using Ubuntu 9.04 where /bin/sh points to dash and SHELL=/bin/bash.
When CONFIG_SHELL=/bin/bash then autoconf configure fails on my system
with the error "configure: error: no acceptable m4 could be found in
$PATH.". When CONFIG_SHELL is not set, or configure is explicitly called
with bash then this problem goes away!
I don't experience this issue when building any of the other packages in
crosstool-ng. :(
I have attached a text file with output from my shell with an example of
what happens.
Regards,
Richard Strand
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: odd_autoconf_configure_output.txt
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20100111/6058d916/attachment.txt>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list