[vlc-commits] configure: fix luac detection from contrib

Thomas Guillem git at videolan.org
Thu Aug 25 09:00:59 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Aug 24 18:41:35 2016 +0200| [7d31c85c00fc1ab769d0797ea2385f1eddc6ee37] | committer: Thomas Guillem

configure: fix luac detection from contrib

Use the same path name than the one setup by the contribs, that is $(HOST)-luac.
In configure, ${host_alias} is the var directly set by the --host argument.

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

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index ee8f524..a0968a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -443,8 +443,8 @@ AS_IF([test -n "${CONTRIB_DIR}"], [
     ])
 
     dnl Newer contribs follow usual name space rules
-    AS_IF([test -x "${CONTRIB_DIR}/../bin/${host}-luac"], [
-      LUAC="${CONTRIB_DIR}/../bin/${host}-luac"
+    AS_IF([test -x "${CONTRIB_DIR}/../bin/${host_alias}-luac"], [
+      LUAC="${CONTRIB_DIR}/../bin/${host_alias}-luac"
     ])
   ])
 



More information about the vlc-commits mailing list