[vlc-devel] [PATCH 3/5] contrib: jpeg, speexdsp: call autoreconf in rules.mak

Robert Mourning robedmo.git at gmail.com
Wed May 31 01:56:02 CEST 2017


Update am__api_version to match version installed on system.

This is necessary when building on Windows Subsystem for Linux
(with source files on DrvFs); am__api_version is set to 1.14
without autoreconf, while version 1.15 is installed.

---
 contrib/src/jpeg/rules.mak     | 1 +
 contrib/src/speexdsp/rules.mak | 1 +
 2 files changed, 2 insertions(+)

diff --git a/contrib/src/jpeg/rules.mak b/contrib/src/jpeg/rules.mak
index 5ab1089..1572eef 100644
--- a/contrib/src/jpeg/rules.mak
+++ b/contrib/src/jpeg/rules.mak
@@ -15,6 +15,7 @@ jpeg: jpegsrc.v$(JPEG_VERSION).tar.gz .sum-jpeg
 	$(MOVE)
 
 .jpeg: jpeg
+	$(RECONF)
 	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
 	cd $< && $(MAKE) install
 	cd $< && if test -e $(PREFIX)/lib/libjpeg.a; then $(RANLIB) $(PREFIX)/lib/libjpeg.a; fi
diff --git a/contrib/src/speexdsp/rules.mak b/contrib/src/speexdsp/rules.mak
index d7a2ace..420bae9 100644
--- a/contrib/src/speexdsp/rules.mak
+++ b/contrib/src/speexdsp/rules.mak
@@ -33,6 +33,7 @@ endif
 endif
 
 .speexdsp: speexdsp
+	$(RECONF)
 	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(SPEEXDSP_CONF)
 	cd $< && $(MAKE)
 	cd $< && ../../../contrib/src/pkg-static.sh speexdsp.pc
-- 
2.7.4



More information about the vlc-devel mailing list