From 74d853525fc4252f717f0baaa322e6aa5c4eb88f Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 14 Dec 2012 14:51:20 +0000 Subject: gperf: fix out-of-tree builds Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-extended/gperf/gperf.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-extended/gperf') diff --git a/meta/recipes-extended/gperf/gperf.inc b/meta/recipes-extended/gperf/gperf.inc index a521e0943b..10ee912b46 100644 --- a/meta/recipes-extended/gperf/gperf.inc +++ b/meta/recipes-extended/gperf/gperf.inc @@ -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 } -- cgit v1.2.3