Added linux/cdrom.h check patch from cbschmid
authorWim Taymans <wim.taymans@gmail.com>
Sun, 28 Jul 2002 13:21:37 +0000 (13:21 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 28 Jul 2002 13:21:37 +0000 (13:21 +0000)
Original commit message from CVS:
Added linux/cdrom.h check patch from cbschmid

configure.ac

index 3764a8af652a40d7a1738eb2d1a15b69edbdc4b4..7d65315689feafe01bca606bb4a5ab139bba545d 100644 (file)
@@ -282,6 +282,12 @@ GST_CHECK_FEATURE(VGA, [VGA], vgavideosink, [
   AC_CHECK_HEADER(asm/vga.h, HAVE_VGA="yes", HAVE_VGA="no")
 ])
 
+dnl *** CDROM Audio ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_CDROM, true)
+GST_CHECK_FEATURE(CDROM, [CDROM Audio], cdrom, [
+ AC_CHECK_HEADER(linux/cdrom.h, HAVE_CDROM="yes", HAVE_CDROM="no")
+])
+
 dnl *** XVideo ***
 dnl Look for the PIC library first, Debian requires it.
 dnl Check debian-devel archives for gory details.