]> git.sesse.net Git - vlc/commitdiff
configure: Use the full path to luac to support our contrib system.
authorPierre d'Herbemont <pdherbemont@free.fr>
Mon, 15 Feb 2010 13:55:05 +0000 (14:55 +0100)
committerPierre d'Herbemont <pdherbemont@free.fr>
Mon, 15 Feb 2010 13:57:36 +0000 (14:57 +0100)
This fixes the build on Mac OS X. This is probably not the best way
for non-contrib dependant build, but I don't have any better idea.
Feel free to make it works differently.

configure.ac

index e640bead2fb6ab7dc1993fb922a646cd8867f2d8..3df2b8ae838a329e61dcac32c7606c6d5da106a3 100644 (file)
@@ -1620,7 +1620,7 @@ then
   else
       AC_MSG_ERROR([Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.])
   fi
-  AC_CHECK_PROGS(LUAC, luac)
+  AC_PATH_PROG(LUAC, luac)
 fi
 AM_CONDITIONAL(BUILD_LUA, [test "${have_lua}" = "yes"])