]> git.sesse.net Git - vlc/blobdiff - configure.ac
Configure: fix tools PATH
[vlc] / configure.ac
index 6fab05b9b98fe1b051f9a2af9d2b978b0f402523..90f1ae231eaa35c2f1fa431e3a048733d8d3a1ad 100644 (file)
@@ -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}/bin":$PATH
+])
+
 dnl
 dnl  Libtool
 dnl  It's very bad, but our former custom system was worst