qb: Fix the CDROM check.

This improves the CDROM check.

Fixes https://github.com/libretro/RetroArch/issues/9096
This commit is contained in:
orbea 2019-07-12 09:25:16 -07:00
parent 89a8202dc5
commit 76e130a988
2 changed files with 5 additions and 5 deletions

View File

@ -137,12 +137,12 @@ check_lib '' THREADS "$PTHREADLIB" pthread_create
check_enabled THREADS THREAD_STORAGE 'Thread Local Storage' 'Threads are' false
check_lib '' THREAD_STORAGE "$PTHREADLIB" pthread_key_create
if [ "$HAVE_NO_CDROM" = "" ]; then
if [ "$OS" = 'Win32' ] || [ "$OS" = 'Linux' ]; then
HAVE_CDROM=yes
fi
if [ "$OS" = 'Linux' ]; then
check_header CDROM stropts.h scsi/sg.h
fi
check_platform 'Linux Win32' CDROM 'CD-ROM is' user
if [ "$OS" = 'Win32' ]; then
HAVE_DYLIB=yes
else

View File

@ -144,4 +144,4 @@ HAVE_VIDEOPROCESSOR=auto # Enable video processor core
HAVE_VIDEOCORE=auto # Broadcom Videocore 4 support
HAVE_DRMINGW=no # DrMingw exception handler
HAVE_EASTEREGG=yes # Easter egg
HAVE_CDROM=no
HAVE_CDROM=auto # CD-ROM support