[oe-commits] Radu Moisan : rxvt-unicode: Check existence of acinclude.m4

git at git.openembedded.org git at git.openembedded.org
Sat Jul 13 20:58:48 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: f3f892cba2d4f23d6b994b907ce06badd5ad2f0c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f3f892cba2d4f23d6b994b907ce06badd5ad2f0c

Author: Radu Moisan <radu.moisan at intel.com>
Date:   Thu Jul 11 12:47:45 2013 +0000

rxvt-unicode: Check existence of acinclude.m4

copy should only happen if acinclude.m4 doesn't exist

Signed-off-by: Radu Moisan <radu.moisan at intel.com>

---

 .../recipes-sato/rxvt-unicode/rxvt-unicode_9.18.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.18.bb b/meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.18.bb
index 9a47617..e417957 100644
--- a/meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.18.bb
+++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.18.bb
@@ -42,7 +42,9 @@ EXTRA_OECONF = "--enable-menubar --enable-xim \
 		--with-x=${STAGING_DIR_HOST}${prefix}"
 
 do_configure_prepend () {
-	cp ${S}/aclocal.m4 ${S}/acinclude.m4
+	if [ ! -e ${S}/acinclude.m4 ]; then
+		cp ${S}/aclocal.m4 ${S}/acinclude.m4
+	fi
 }
 
 do_compile_prepend () {



More information about the Openembedded-commits mailing list