diff options
author | Charles Schmidt <cbschmid@users.sourceforge.net> | 2002-07-28 22:45:45 +0000 |
---|---|---|
committer | Charles Schmidt <cbschmid@users.sourceforge.net> | 2002-07-28 22:45:45 +0000 |
commit | 0327f33923e0861e59dbaba696f86d87149eb885 (patch) | |
tree | 62c25141c8d0e8543dd5f00626f9e95deb48d898 /configure.ac | |
parent | 186ba5c337e42e8c87f1851615e1d0dd7c717904 (diff) | |
download | gst-plugins-bad-0327f33923e0861e59dbaba696f86d87149eb885.tar.gz gst-plugins-bad-0327f33923e0861e59dbaba696f86d87149eb885.tar.bz2 gst-plugins-bad-0327f33923e0861e59dbaba696f86d87149eb885.zip |
Added *BSD (and Darwin) ioctl cdaudio playing. Couple bugfixes. 'end-track','current-track' and 'cddb-discid' propert...
Original commit message from CVS:
Added *BSD (and Darwin) ioctl cdaudio playing. Couple bugfixes. 'end-track','current-track' and 'cddb-discid' properties and 'track-change' signal for the element.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 7d653156..36955fd3 100644 --- a/configure.ac +++ b/configure.ac @@ -285,7 +285,35 @@ GST_CHECK_FEATURE(VGA, [VGA], vgavideosink, [ 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") + AC_CHECK_HEADERS(linux/cdrom.h) dnl linux + AC_CHECK_HEADERS(sys/cdio.h) dnl almost everything else +dnl AC_CHECK_HEADERS(dmedia/cdaudio.h) dnl irix + + if test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes" || test "${ac_cv_header_dmedia_cdaudio_h}" = "yes"; then + case "$host" in + *-sun-* | *-*-linux*) + AC_DEFINE(HAVE_CDROM_SOLARIS,, [Define if cdrom access is in Solaris style]) + ;; + *-*-freebsd*) + AC_DEFINE(HAVE_CDROM_BSD,, [Define if cdrom access is in BSD style]) + ;; + *-*-netbsd* | *-*-openbsd*) + AC_DEFINE(HAVE_CDROM_BSD,, [Define if cdrom access is in BSD style]) + AC_DEFINE(HAVE_CDROM_BSD_NETBSD,, [Define if cdrom access uses NetBSD variant]) + ;; + *-*darwin*) + AC_DEFINE(HAVE_CDROM_BSD,, [Define if cdrom access is in BSD style]) + AC_DEFINE(HAVE_CDROM_BSD_DARWIN,, [Define if cdrom access uses Darwin variant]) + ;; +dnl *-irix-*) +dnl AC_DEFINE(HAVE_CDROM_IRIX,, [Define if cdrom access is in Irix DMedia style]) +dnl ;; + esac + + HAVE_CDROM="yes" + else + HAVE_CDROM="no" + fi ]) dnl *** XVideo *** |