From: Khem Raj Date: Wed, 2 Jun 2010 19:40:36 +0000 (-0700) Subject: classes/autotools.bbclass: Dont bail out if gettext/config.rpath does not exist. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87bf42f132f6a05fd294e3690cf637ab5b1362a6;p=openembedded.git classes/autotools.bbclass: Dont bail out if gettext/config.rpath does not exist. * Add a note if this file does not exist. The reason is that gettext can needs libiconv and libiconv needs gettext so we need to solve this catch 22 Signed-off-by: Khem Raj Acked-by: Martin Jansa --- diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass index df2c11426e..8a5b982bc2 100644 --- a/classes/autotools.bbclass +++ b/classes/autotools.bbclass @@ -125,7 +125,11 @@ autotools_do_configure() { echo "no" | glib-gettextize --force --copy fi else if grep "^[[:space:]]*AM_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then - cp ${STAGING_DATADIR}/gettext/config.rpath ${S}/ + if [ -e ${STAGING_DATADIR}/gettext/config.rpath ]; then + cp ${STAGING_DATADIR}/gettext/config.rpath ${S}/ + else + oenote ${STAGING_DATADIR}/gettext/config.rpath not found. gettext is not installed. + fi fi fi