mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
configure: support WIC + OpenGL under mingw64
fixes issue #211 original patch by grizzly dot nyo at gmail Change-Id: Ie7bf63d24c112e7e351979da4bebcb690a831c5d
This commit is contained in:
parent
380cca4f2c
commit
10f4257c3b
@ -190,7 +190,7 @@ AS_IF([test "x$enable_gl" != "xno"], [
|
|||||||
|
|
||||||
# find libGL
|
# find libGL
|
||||||
GL_SAVED_LIBS="$LIBS"
|
GL_SAVED_LIBS="$LIBS"
|
||||||
AC_SEARCH_LIBS([glBegin], [GL OpenGL])
|
AC_SEARCH_LIBS([glBegin], [GL OpenGL opengl32])
|
||||||
LIBS="$GL_SAVED_LIBS"
|
LIBS="$GL_SAVED_LIBS"
|
||||||
|
|
||||||
# A direct link to libGL may not be necessary on e.g., linux.
|
# A direct link to libGL may not be necessary on e.g., linux.
|
||||||
@ -369,7 +369,8 @@ AC_ARG_ENABLE([wic],
|
|||||||
@<:@default=auto@:>@]),,
|
@<:@default=auto@:>@]),,
|
||||||
[enable_wic=yes])
|
[enable_wic=yes])
|
||||||
|
|
||||||
if test "$target_os" = "mingw32" -a "$enable_wic" = "yes"; then
|
if test \( "$target_os" = "mingw32" -o "$target_os" = "mingw64" \) \
|
||||||
|
-a "$enable_wic" = "yes"; then
|
||||||
AC_CHECK_HEADERS([wincodec.h shlwapi.h windows.h])
|
AC_CHECK_HEADERS([wincodec.h shlwapi.h windows.h])
|
||||||
if test "$ac_cv_header_wincodec_h" = "yes"; then
|
if test "$ac_cv_header_wincodec_h" = "yes"; then
|
||||||
AC_MSG_CHECKING(for Windows Imaging Component support)
|
AC_MSG_CHECKING(for Windows Imaging Component support)
|
||||||
|
Loading…
Reference in New Issue
Block a user