[oe-commits] Richard Purdie : autotools.bbclass: Create m4 directory earlier avoding issues with intltoolize (from Poky)

git version control git at git.openembedded.org
Tue Nov 3 17:31:19 UTC 2009


Module: openembedded.git
Branch: rpurdie/work-in-progress
Commit: 48f028b0a979871d2b418467f4096c89a78c2cd3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=48f028b0a979871d2b418467f4096c89a78c2cd3

Author: Richard Purdie <rpurdie at linux.intel.com>
Date:   Fri Oct 30 02:43:12 2009 +0000

autotools.bbclass: Create m4 directory earlier avoding issues with intltoolize (from Poky)

Signed-off-by: Richard Purdie <rpurdie at linux.intel.com>

---

 classes/autotools.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index a38ed3f..e424175 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -121,12 +121,12 @@ autotools_do_configure() {
 			    echo "no" | glib-gettextize --force --copy
 			  fi
 			fi
+			mkdir -p m4
 			if grep "^[[:space:]]*[AI][CT]_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then
 			  oenote Executing intltoolize --copy --force --automake
 			  intltoolize --copy --force --automake
 			fi
 			oenote Executing autoreconf --verbose --install --force ${EXTRA_AUTORECONF} $acpaths
-			mkdir -p m4
 			autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || oefatal "autoreconf execution failed."
 			cd $olddir
 		fi





More information about the Openembedded-commits mailing list