[oe] automake/aclocal or env problem?

Stanislav Brabec utx at penguin.cz
Thu Sep 17 21:59:15 UTC 2009


Stanislav Brabec wrotr:
>Steffen Sledz wrote:
> > I'm not sure if this is wrong or /usr/bin/env is buggy.
> 
> Well. I was thinking so as well. But if you call /usr/bin/env perl -w
> from the command line, then it works as expected. In #! line it does not
> work. Neither in busybox env nor in coreutils env. It's probably
> expected behavior and the problem is introduced by
> recipes/autoconf/autoconf-2.63/path_prog_fixes.patch.
> 
> We would probably need ac_cv_path_ magic, exactly as it is done in
> recipes/libtool. It seems to work properly for both native and target.

I hope that this is a fix that does not break anything:
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=33cee0586991e235d0fe3d984f822ef2f310e7c3

The construction
if ${@['true', 'false'][bb.data.inherits_class('native', d)]}
seems to be cleaner than tricks used in libtool. I am just testing the
same approach for libtool recipes.


________________________________________________________________________
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus





More information about the Openembedded-devel mailing list