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

Jean-Baptiste Kempf git at videolan.org
Fri Oct 17 11:35:55 CEST 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Oct 11 13:35:10 2014 +0000| [70b069caed2a1a6e3fb12d94906341cb55fce671] | committer: Jean-Baptiste Kempf

configure: add tools from extras/tools to the PATH

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70b069caed2a1a6e3fb12d94906341cb55fce671
---

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

diff --git a/configure.ac b/configure.ac
index 6fab05b..ff4d25d 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



More information about the vlc-commits mailing list