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

git at videolan.org git at videolan.org
Tue Jun 22 08:33:36 CEST 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Tue Jun 22 08:32:03 2010 +0200| [6f81ceb15848ea5db09d631d1d389eaaee58d34e] | committer: Rafaël Carré 

Fix luac detection error case

ac_cv_path_XX only caches positive results, not failures

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

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

diff --git a/configure.ac b/configure.ac
index c9d8074..1a428e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1613,7 +1613,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