]> git.sesse.net Git - vlc/commitdiff
configure: one error message for missing Lua is enough
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 16 Feb 2010 20:29:13 +0000 (22:29 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 16 Feb 2010 20:29:13 +0000 (22:29 +0200)
configure.ac

index c944df137163ae80af2f3fa234f67e63a31d7ef4..96cd9fc767dd653ac8dd9898a0ac1adce616040e 100644 (file)
@@ -1606,9 +1606,6 @@ then
             AC_CHECK_LIB( lua , luaL_newstate,
               [LUA_LIBS="-llua"],
               [ have_lua=no
-                AS_IF([test "x${enable_lua}" = "xyes"],
-                  [AC_MSG_ERROR([lua >= 5.1 not found!])],
-                  [AC_MSG_WARN([lua >= 5.1 not found!])])
               ], [-lm])
           )
         )