[vlc-devel] [PATCH] extra/tools: make sure autoconf can access pkg-config macros

Rafaël Carré funman at videolan.org
Tue Nov 29 20:49:44 CET 2011


If we don't build pkg-config (because a previous installation exists
somewhere else), autoconf won't find PKG_* m4 macros and fail to
run on packages using them (if they don't ship the macros either)
---
 extras/tools/tools.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak
index 6ea4169..4e79da7 100644
--- a/extras/tools/tools.mak
+++ b/extras/tools/tools.mak
@@ -132,7 +132,7 @@ autoconf: autoconf-$(AUTOCONF_VERSION).tar.bz2
 	$(UNPACK)
 	$(MOVE)
 
-.autoconf: autoconf
+.autoconf: autoconf .pkg-config
 	(cd $<; ./configure --prefix=$(PREFIX) && make && make install)
 	touch $@
 
-- 
1.7.7.3



More information about the vlc-devel mailing list