diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-26 18:37:51 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-26 18:37:51 +0000 |
commit | c11d7afb2715e08e8ac2457998dd3af9f8e93bf7 (patch) | |
tree | 262fa50a6339bb3f4688d7ae25dc73a22261a689 /configure | |
parent | eabe7092f7db37fcb7dcaabb684c7ead1039a016 (diff) | |
download | mpv-c11d7afb2715e08e8ac2457998dd3af9f8e93bf7.tar.bz2 mpv-c11d7afb2715e08e8ac2457998dd3af9f8e93bf7.tar.xz |
Move checking/defining HAVE_LINUX_DVD_STRUCT etc. to dvdcss check,
since dvdread does not use them. Also seems to allow building with
(external) dvdnav and internal dvdcss.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21278 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -5170,15 +5170,6 @@ if test "$_dvdread_internal" = yes; then _def_dvdread='#define USE_DVDREAD 1' _inputmodules="dvdread $_inputmodules" _largefiles=yes - if linux || netbsd || openbsd || bsdos ; then - _def_dvd_linux='#define HAVE_LINUX_DVD_STRUCT 1' - openbsd && _dev_dvd_openbsd='#define HAVE_OPENBSD_DVD_STRUCT 1' - elif freebsd ; then - _def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1' - elif darwin ; then - _def_dvd_darwin='#define DARWIN_DVD_IOCTL' - _ld_extra="$_ld_extra -framework IOKit" - fi elif test "$_dvdread" = yes; then _def_dvdread='#define USE_DVDREAD 1' _inputmodules="dvdread $_inputmodules" @@ -5198,6 +5189,15 @@ if test "$_libdvdcss_internal" = auto ; then test "$_dvdread_internal" = yes && _libdvdcss_internal=yes fi if test "$_libdvdcss_internal" = yes ; then + if linux || netbsd || openbsd || bsdos ; then + _def_dvd_linux='#define HAVE_LINUX_DVD_STRUCT 1' + openbsd && _dev_dvd_openbsd='#define HAVE_OPENBSD_DVD_STRUCT 1' + elif freebsd ; then + _def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1' + elif darwin ; then + _def_dvd_darwin='#define DARWIN_DVD_IOCTL' + _ld_extra="$_ld_extra -framework IOKit" + fi _inputmodules="libdvdcss $_inputmodules" else _noinputmodules="libdvdcss $_noinputmodules" |