mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
Fixes to kmsdrm dynamic loading support.
Fixes: https://github.com/libsdl-org/SDL/issues/4520
This commit is contained in:
parent
48bbe31bc6
commit
15ed665363
8
configure
vendored
8
configure
vendored
@ -22240,8 +22240,8 @@ $as_echo "#define SDL_VIDEO_DRIVER_KMSDRM 1" >>confdefs.h
|
|||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kmsdrm dynamic loading support" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kmsdrm dynamic loading support" >&5
|
||||||
$as_echo_n "checking for kmsdrm dynamic loading support... " >&6; }
|
$as_echo_n "checking for kmsdrm dynamic loading support... " >&6; }
|
||||||
kmsdrm_shared=no
|
kmsdrm_shared=no
|
||||||
drm_lib=`find_lib "libdrm.so.*" "$DRM_LIBS"`
|
drm_lib=`find_lib "libdrm.so.*" "$LIBDRM_LIBS"`
|
||||||
gbm_lib=`find_lib "libgbm.so.*" "$DRM_LIBS"`
|
gbm_lib=`find_lib "libgbm.so.*" "$LIBGBM_LIBS"`
|
||||||
if test x$have_loadso != xyes && \
|
if test x$have_loadso != xyes && \
|
||||||
test x$enable_kmsdrm_shared = xyes; then
|
test x$enable_kmsdrm_shared = xyes; then
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You must have SDL_LoadObject() support for dynamic kmsdrm loading" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You must have SDL_LoadObject() support for dynamic kmsdrm loading" >&5
|
||||||
@ -22272,6 +22272,10 @@ _ACEOF
|
|||||||
fi
|
fi
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kmsdrm_shared" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kmsdrm_shared" >&5
|
||||||
$as_echo "$kmsdrm_shared" >&6; }
|
$as_echo "$kmsdrm_shared" >&6; }
|
||||||
|
if test x$kmsdrm_shared = xyes; then
|
||||||
|
echo "-- dynamic libdrm -> $drm_lib"
|
||||||
|
echo "-- dynamic libgmb -> $gbm_lib"
|
||||||
|
fi
|
||||||
have_video=yes
|
have_video=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -2222,8 +2222,8 @@ CheckKMSDRM()
|
|||||||
|
|
||||||
AC_MSG_CHECKING(for kmsdrm dynamic loading support)
|
AC_MSG_CHECKING(for kmsdrm dynamic loading support)
|
||||||
kmsdrm_shared=no
|
kmsdrm_shared=no
|
||||||
drm_lib=[`find_lib "libdrm.so.*" "$DRM_LIBS"`]
|
drm_lib=[`find_lib "libdrm.so.*" "$LIBDRM_LIBS"`]
|
||||||
gbm_lib=[`find_lib "libgbm.so.*" "$DRM_LIBS"`]
|
gbm_lib=[`find_lib "libgbm.so.*" "$LIBGBM_LIBS"`]
|
||||||
if test x$have_loadso != xyes && \
|
if test x$have_loadso != xyes && \
|
||||||
test x$enable_kmsdrm_shared = xyes; then
|
test x$enable_kmsdrm_shared = xyes; then
|
||||||
AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic kmsdrm loading])
|
AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic kmsdrm loading])
|
||||||
@ -2240,6 +2240,10 @@ CheckKMSDRM()
|
|||||||
SUMMARY_video="${SUMMARY_video} kmsdrm"
|
SUMMARY_video="${SUMMARY_video} kmsdrm"
|
||||||
fi
|
fi
|
||||||
AC_MSG_RESULT($kmsdrm_shared)
|
AC_MSG_RESULT($kmsdrm_shared)
|
||||||
|
if test x$kmsdrm_shared = xyes; then
|
||||||
|
echo "-- dynamic libdrm -> $drm_lib"
|
||||||
|
echo "-- dynamic libgmb -> $gbm_lib"
|
||||||
|
fi
|
||||||
have_video=yes
|
have_video=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user