]> git.sesse.net Git - vlc/commitdiff
Fix luac detection error case
authorRafaël Carré <rafael.carre@gmail.com>
Tue, 22 Jun 2010 06:32:03 +0000 (08:32 +0200)
committerRafaël Carré <rafael.carre@gmail.com>
Tue, 22 Jun 2010 06:33:03 +0000 (08:33 +0200)
ac_cv_path_XX only caches positive results, not failures

configure.ac

index c9d80746e55c08f351fcfa833562754e0769c818..1a428e7223f348eafe3a5ac4d7b4fb6ae0183341 100644 (file)
@@ -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