Skip to contentSkip to conversation

rxvt-unicode: Check existence of acinclude.m4

PATCH New Radu Moisan 1 participant 1 message Jul 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rxvt-unicode: Check existence of acinclude.m4

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

---
 .../recipes-sato/rxvt-unicode/rxvt-unicode_9.18.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.18.bb +3 -1
index 9a47617..e417957 100644
@@ -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 () {
Signature · 1 line
1.7.9.5