diff options
-rw-r--r-- | meta/classes/autotools.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index e22ea6837f..a8d2b5f32e 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -102,6 +102,8 @@ autotools_do_configure() { | |||
102 | if [ -e ${S}/configure.in -o -e ${S}/configure.ac ]; then | 102 | if [ -e ${S}/configure.in -o -e ${S}/configure.ac ]; then |
103 | olddir=`pwd` | 103 | olddir=`pwd` |
104 | cd ${S} | 104 | cd ${S} |
105 | # Remove any previous copy of the m4 macros | ||
106 | rm -rf ${B}/aclocal-copy/ | ||
105 | if [ x"${acpaths}" = xdefault ]; then | 107 | if [ x"${acpaths}" = xdefault ]; then |
106 | acpaths= | 108 | acpaths= |
107 | for i in `find ${S} -maxdepth 2 -name \*.m4|grep -v 'aclocal.m4'| \ | 109 | for i in `find ${S} -maxdepth 2 -name \*.m4|grep -v 'aclocal.m4'| \ |