Commit ab5b088b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Configure: remove HAVE_DIRECTX

parent 6caacec0
......@@ -3317,13 +3317,10 @@ AC_ARG_ENABLE(directx,
enable_directx="no"
])
])
have_directx="no"
AS_IF([test "${enable_directx}" != "no"], [
dnl DirectDraw
AC_CHECK_HEADERS(ddraw.h, [
have_directx="yes"
], [
AC_MSG_ERROR([Cannot find DirectX headers!])
VLC_ADD_PLUGIN([directdraw])
])
dnl OpenGL
......@@ -3349,7 +3346,6 @@ AS_IF([test "${enable_directx}" != "no"], [
VLC_ADD_PLUGIN([direct2d])
])
])
AM_CONDITIONAL([HAVE_DIRECTX], [test "$have_directx" = "yes"])
dnl
dnl Linux framebuffer module
......
......@@ -209,7 +209,8 @@ libdirectdraw_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
-DMODULE_NAME_IS_directdraw
libdirectdraw_plugin_la_LIBADD = -luser32 -lgdi32 -lole32 -luuid
if HAVE_WIN32_DESKTOP
vout_LTLIBRARIES += libdirectdraw_plugin.la
vout_LTLIBRARIES += $(LTLIBdirectdraw)
EXTRA_LTLIBRARIES += libdirectdraw_plugin.la
endif
libglwin32_plugin_la_SOURCES = video_output/win32/glwin32.c \
......
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