[vlc-commits] commit: Fix luac detection error case ( Rafaël Carré )

git at videolan.org git at videolan.org
Thu Jun 24 12:29:36 CEST 2010


vlc/vlc-1.1 | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Tue Jun 22 08:32:03 2010 +0200| [58903aa1d801457352c54776b51d868d983b320b] | committer: Jean-Baptiste Kempf 

Fix luac detection error case

ac_cv_path_XX only caches positive results, not failures
(cherry picked from commit 6f81ceb15848ea5db09d631d1d389eaaee58d34e)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=58903aa1d801457352c54776b51d868d983b320b
---

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

diff --git a/configure.ac b/configure.ac
index efd5f75..60a9f61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1632,7 +1632,7 @@ then
   fi
   AC_ARG_VAR([LUAC], [LUA byte compiler])
   AC_PATH_PROGS(LUAC,[${LUAC} luac], [false])
-  AS_IF([test "${ac_cv_path_LUAC}" = "false"], [
+  AS_IF([test "${LUAC}" = "false"], [
     AC_MSG_ERROR([Could not find the LUA byte compiler.])
   ])
 fi



More information about the vlc-commits mailing list