gperf: fix out-of-tree builds

(From OE-Core rev: 74d853525fc4252f717f0baaa322e6aa5c4eb88f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2012-12-14 14:51:20 +00:00 committed by Richard Purdie
parent 3f1407457f
commit 250c4d28a8
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ inherit autotools
EXTRA_AUTORECONF += " -I ${S}"
do_configure_prepend() {
if [ ! -e acinclude.m4 ]; then
cat aclocal.m4 > acinclude.m4
if [ ! -e ${S}/acinclude.m4 ]; then
cat ${S}/aclocal.m4 > ${S}/acinclude.m4
fi
}