autotools.bbclass: using relative paths for acpaths
authorWenzong Fan <wenzong.fan@windriver.com>
Thu, 27 Sep 2012 08:23:37 +0000 (16:23 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Sep 2012 15:29:06 +0000 (16:29 +0100)
commit227ce8e242602eb0d4ae6b47f1bd58e71006dbcd
tree0866ba357e3992b0c6501f0771e5f40ce8f34939
parentf616af4b5ad113ea0d9c4d9199a25d2eab192ca8
autotools.bbclass: using relative paths for acpaths

Fix autotools.bbclass to use relative paths for acpaths instead of
absolute ones. Since absolute paths may cause potential autoreconf
error like:

    Can't exec "/bin/sh": Argument list too long ...

This error occurs while building coreutils with long TMPDIR, because
it has bunch of m4 files need to be expanded.

[YOCTO #2766]

(From OE-Core rev: aa66ef6598c84231577d139ec7be413e73fac2b1)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/autotools.bbclass