diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-04 13:38:41 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-04 13:38:41 +0200 |
commit | 11256a884cae65ebfce0bc98cb5d034e431557c1 (patch) | |
tree | 1b534fa41fb4149fdf1346afb31e6ee1086f6ffe /configure.ac | |
parent | 76e028c87087ca9e897a1d3b564379e67e3ce58a (diff) | |
download | xine-lib-11256a884cae65ebfce0bc98cb5d034e431557c1.tar.gz xine-lib-11256a884cae65ebfce0bc98cb5d034e431557c1.tar.bz2 |
Check for sys/dvdio.h, and use that if found, rather than having a check for the BSDs.
Thanks to Pascal S. de Kloe for pointing at this.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c0b299ea3..dd4c18d0e 100644 --- a/configure.ac +++ b/configure.ac @@ -1649,7 +1649,8 @@ dnl --------------------------------------------- dnl cdrom ioctls dnl --------------------------------------------- -AC_CHECK_HEADERS(sys/cdio.h linux/cdrom.h) +AC_CHECK_HEADERS([linux/cdrom.h sys/dvdio.h], [break]) +AC_CHECK_HEADERS([sys/cdio.h]) AM_CHECK_CDROM_IOCTLS( [AC_DEFINE(HAVE_CDROM_IOCTLS,1,[Define this if you have CDROM ioctls])], [AC_MSG_RESULT([*** (S)VCD support will be disabled ***])]) |