Win32: do not enable glwin32 if GL/glext.h is missing

(GL/gl.h ought to be present if GL/glext.h is)
This commit is contained in:
Rémi Denis-Courmont 2011-07-26 20:05:14 +03:00
parent dd809074a2
commit ce42f29afe

View File

@ -3341,7 +3341,7 @@ then
VLC_ADD_LIBS([directx],[-lgdi32])
],[AC_MSG_ERROR([Cannot find DirectX headers!])]
)
AC_CHECK_HEADERS(GL/gl.h,
AC_CHECK_HEADERS(GL/glext.h,
[ VLC_ADD_PLUGIN([glwin32])
VLC_ADD_LIBS([glwin32],[-lopengl32 -lgdi32])
])