Commit 7117de51 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

lua: avoid genmf

parent f0387f7e
...@@ -602,7 +602,7 @@ AC_CHECK_FUNCS([if_nameindex if_nametoindex]) ...@@ -602,7 +602,7 @@ AC_CHECK_FUNCS([if_nameindex if_nametoindex])
VLC_RESTORE_FLAGS VLC_RESTORE_FLAGS
AS_IF([test -n "$SOCKET_LIBS"], [ AS_IF([test -n "$SOCKET_LIBS"], [
VLC_ADD_LIBS([access_rtmp access_output_shout sap stream_out_standard stream_out_rtp stream_out_raop vod_rtsp rtp oldrc netsync gnutls ts audioscrobbler lua remoteosd audiobargraph_a],[${SOCKET_LIBS}]) VLC_ADD_LIBS([access_rtmp access_output_shout sap stream_out_standard stream_out_rtp stream_out_raop vod_rtsp rtp oldrc netsync gnutls ts audioscrobbler remoteosd audiobargraph_a],[${SOCKET_LIBS}])
]) ])
AC_SUBST(SOCKET_LIBS) AC_SUBST(SOCKET_LIBS)
...@@ -651,7 +651,7 @@ AC_CHECK_FUNC(getopt_long,, [ ...@@ -651,7 +651,7 @@ AC_CHECK_FUNC(getopt_long,, [
AC_SUBST(GNUGETOPT_LIBS) AC_SUBST(GNUGETOPT_LIBS)
AC_CHECK_LIB(m,cos,[ AC_CHECK_LIB(m,cos,[
VLC_ADD_LIBS([adjust wave ripple psychedelic gradient a52tofloat32 dtstofloat32 x264 goom noise grain scene lua chorus_flanger freetype swscale postproc equalizer spatializer param_eq samplerate freetype mpc qt4 compressor headphone_channel_mixer normvol audiobargraph_a audiobargraph_v mono colorthres extract ball hotkeys mosaic gaussianblur x262 x26410b hqdn3d anaglyph oldrc ncurses oldmovie glspectrum],[-lm]) VLC_ADD_LIBS([adjust wave ripple psychedelic gradient a52tofloat32 dtstofloat32 x264 goom noise grain scene chorus_flanger freetype swscale postproc equalizer spatializer param_eq samplerate freetype mpc qt4 compressor headphone_channel_mixer normvol audiobargraph_a audiobargraph_v mono colorthres extract ball hotkeys mosaic gaussianblur x262 x26410b hqdn3d anaglyph oldrc ncurses oldmovie glspectrum],[-lm])
LIBM="-lm" LIBM="-lm"
], [ ], [
LIBM="" LIBM=""
...@@ -687,7 +687,6 @@ AS_IF([test "${enable_shared}" = "no"], [ ...@@ -687,7 +687,6 @@ AS_IF([test "${enable_shared}" = "no"], [
AM_CONDITIONAL(HAVE_DYNAMIC_PLUGINS, [test "${have_dynamic_objects}" != "no"]) AM_CONDITIONAL(HAVE_DYNAMIC_PLUGINS, [test "${have_dynamic_objects}" != "no"])
AC_SUBST(LIBDL) AC_SUBST(LIBDL)
VLC_ADD_LIBS([lua],[$LIBDL])
dnl Check for thread library dnl Check for thread library
LIBPTHREAD="" LIBPTHREAD=""
...@@ -1551,10 +1550,7 @@ then ...@@ -1551,10 +1550,7 @@ then
]) ])
]) ])
]) ])
if test "x${have_lua}" = "xyes" ; then if test "x${have_lua}" != "xyes" ; then
VLC_ADD_LIBS([lua],[$LUA_LIBS])
VLC_ADD_CFLAGS([lua],[$LUA_CFLAGS])
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.]) 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 fi
AC_ARG_VAR([LUAC], [LUA byte compiler]) AC_ARG_VAR([LUAC], [LUA byte compiler])
......
SOURCES_lua = \ include ../common.am
extension.c \
extension.h \ luadir = $(pluginsdir)/lua
liblua_plugin_la_SOURCES = \
extension.c extension.h \
extension_thread.c \ extension_thread.c \
intf.c \ intf.c \
meta.c \ meta.c \
demux.c \ demux.c \
services_discovery.c \ services_discovery.c \
vlc.c \ vlc.c vlc.h \
vlc.h \
libs.h \ libs.h \
libs/configuration.c \ libs/configuration.c \
libs/equalizer.c \ libs/equalizer.c \
libs/gettext.c \ libs/gettext.c \
libs/dialog.c \ libs/dialog.c \
libs/httpd.c \ libs/httpd.c \
libs/input.c \ libs/input.c libs/input.h \
libs/input.h \
libs/messages.c \ libs/messages.c \
libs/misc.c \ libs/misc.c libs/misc.h \
libs/misc.h \
libs/net.c \ libs/net.c \
libs/objects.c \ libs/objects.c libs/objects.h \
libs/objects.h \
libs/osd.c \ libs/osd.c \
libs/playlist.c \ libs/playlist.c libs/playlist.h \
libs/playlist.h \
libs/sd.c \ libs/sd.c \
libs/stream.c \ libs/stream.c \
libs/strings.c \ libs/strings.c \
libs/variables.c \ libs/variables.c libs/variables.h \
libs/variables.h \
libs/video.c \ libs/video.c \
libs/vlm.c \ libs/vlm.c \
libs/volume.c \ libs/volume.c \
libs/xml.c \ libs/xml.c
$(NULL)
if HAVE_WIN32 if HAVE_WIN32
SOURCES_lua += libs/win.c liblua_plugin_la_SOURCES += libs/win.c
endif endif
liblua_plugin_la_CFLAGS = $(AM_CFLAGS) $(LUA_CFLAGS)
lua_LTLIBRARIES += liblua_plugin.la liblua_plugin_la_LIBADD = $(LUA_LIBS) $(SOCKET_LIBS) $(LIBDL) $(LIBM)
#if BUILD_LUA
lua_LTLIBRARIES = liblua_plugin.la
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment