enable CDROM read support by default for Windows (mingw) and Linux

This commit is contained in:
Brad Parker 2019-07-09 14:10:00 -04:00
parent 695837ef77
commit 79aa9afc8c
2 changed files with 7 additions and 0 deletions

View File

@ -137,6 +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
fi
if [ "$OS" = 'Win32' ]; then
HAVE_DYLIB=yes
else

View File

@ -142,3 +142,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