[vlc-devel] [PATCH] contrib: sidplay2: only add unix directory if it exists

Sean McGovern gseanmcg at gmail.com
Tue Jul 1 00:38:00 CEST 2014


---
 contrib/src/sidplay2/rules.mak |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/sidplay2/rules.mak b/contrib/src/sidplay2/rules.mak
index 2ff8f2b..06b8ee5 100644
--- a/contrib/src/sidplay2/rules.mak
+++ b/contrib/src/sidplay2/rules.mak
@@ -25,7 +25,7 @@ sidplay-libs: sidplay-libs-$(SID_VERSION).tar.gz .sum-sidplay2
 	for d in . libsidplay resid builders/resid-builder \
 			builders/hardsid-builder libsidutils ; \
 	do \
-		(cd $</$$d && autoreconf -fiv -I unix) || exit $$? ; \
+		(cd $</$$d && autoreconf -fiv $$(test -d unix && echo -I unix)) || exit $$? ; \
 	done
 	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
 	cd $< && $(MAKE) install
-- 
1.7.9.2




More information about the vlc-devel mailing list