mirror of
https://github.com/mpv-player/mpv
synced 2024-12-15 03:15:52 +00:00
libmpdvdkit on openbsd, patch by Björn Sandell <biorn@dce.chalmers.se>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7107 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ce0b26ac75
commit
a99ffa9110
7
configure
vendored
7
configure
vendored
@ -3029,7 +3029,7 @@ fi
|
||||
echocheck "DVD support (libmpdvdkit)"
|
||||
if test "$_dvdkit" = auto ; then
|
||||
_dvdkit=no
|
||||
if linux || freebsd || netbsd || darwin || cygwin; then
|
||||
if linux || freebsd || netbsd || darwin || cygwin || openbsd; then
|
||||
test -f "./libmpdvdkit2/Makefile" && _dvdkit=yes
|
||||
test -f "./libmpdvdkit/Makefile" && _dvdkit=yes
|
||||
fi
|
||||
@ -3050,8 +3050,12 @@ if test "$_dvdkit" = yes ; then
|
||||
fi
|
||||
_def_dvd_linux='#undef HAVE_LINUX_DVD_STRUCT'
|
||||
_def_dvd_bsd='#undef HAVE_BSD_DVD_STRUCT'
|
||||
_dev_dvd_openbsd='#undef HAVE_OPENBSD_DVD_STRUCT'
|
||||
if linux || netbsd || openbsd || bsdos ; then
|
||||
_def_dvd_linux='#define HAVE_LINUX_DVD_STRUCT 1'
|
||||
if openbsd ; then
|
||||
_dev_dvd_openbsd='#define HAVE_OPENBSD_DVD_STRUCT 1'
|
||||
fi
|
||||
else
|
||||
if freebsd ; then
|
||||
_def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1'
|
||||
@ -4358,6 +4362,7 @@ $_def_dvdio
|
||||
$_def_bsdi_dvd
|
||||
$_def_dvd_bsd
|
||||
$_def_dvd_linux
|
||||
$_dev_dvd_openbsd
|
||||
$_def_sol_scsi_h
|
||||
$_def_stddef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user