[vlc-devel] [PATCH] configure: add tools from extras/tools to the PATH

Jean-Baptiste Kempf jb at videolan.org
Sat Oct 11 16:35:10 CEST 2014


---
 configure.ac | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configure.ac b/configure.ac
index 895f2d0..d375f9c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -412,6 +412,13 @@ AS_IF([test -n "${CONTRIB_DIR}"], [
 ])
 AC_SUBST(CONTRIB_DIR)
 
+dnl Add extras/tools to the PATH
+TOOLS_DIR="${srcdir}/extras/tools/build"
+AS_IF([test -d "${TOOLS_DIR}"], [
+    TOOLS_DIR=`cd "${TOOLS_DIR}" && pwd`
+    export PATH="${TOOLS_DIR}":$PATH
+])
+
 dnl
 dnl  Libtool
 dnl  It's very bad, but our former custom system was worst
-- 
2.1.2




More information about the vlc-devel mailing list