aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMatthew Hoops2015-09-27 18:02:21 -0400
committerJohannes Schickel2016-03-13 13:56:28 +0100
commita1a4fc0d5186ae4aeeb1e5ea99be4b36bf645179 (patch)
tree8082a3f5b1e6bffd3977d117507f801a07b2c147 /configure
parent47a82f2d1b776ec46d98715c9af3e7ec37a3d206 (diff)
downloadscummvm-rg350-a1a4fc0d5186ae4aeeb1e5ea99be4b36bf645179.tar.gz
scummvm-rg350-a1a4fc0d5186ae4aeeb1e5ea99be4b36bf645179.tar.bz2
scummvm-rg350-a1a4fc0d5186ae4aeeb1e5ea99be4b36bf645179.zip
BACKENDS: Add a Linux CD-ROM audio player
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure b/configure
index 0e7a5a9b56..c958e9acf0 100755
--- a/configure
+++ b/configure
@@ -4259,6 +4259,20 @@ define_in_config_if_yes "$_opengl" "USE_OPENGL"
define_in_config_if_yes "$_opengles" "USE_GLES"
#
+# Check for Linux CD-ROM support
+#
+echocheck "Linux CD-ROM"
+linuxcd=no
+cat > $TMPC << EOF
+#include <linux/cdrom.h>
+int main(void) { int x = CDROMREADAUDIO; return 0; }
+EOF
+cc_check && linuxcd=yes
+define_in_config_if_yes "$linuxcd" 'USE_LINUXCD'
+echo "$linuxcd"
+
+
+#
# Check for nasm
#
if test "$_have_x86" = yes ; then