1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-28 18:53:02 +00:00

only freebsd has BSD-style dvd_struct? - enable dvdkit only for linux+freebsd

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5892 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-04-28 21:05:09 +00:00
parent 0a945c970b
commit c041927ead

6
configure vendored
View File

@ -2626,7 +2626,7 @@ fi
echocheck "DVD support (libmpdvdkit)"
if test "$_dvdkit" = auto ; then
_dvdkit=no
if linux || bsd || sunos ; then
if linux || freebsd ; then
test -f "./libmpdvdkit/Makefile" && _dvdkit=yes
fi
fi
@ -2638,10 +2638,10 @@ if test "$_dvdkit" = yes ; then
fi
_def_dvd_linux='#undef HAVE_LINUX_DVD_STRUCT'
_def_dvd_bsd='#undef HAVE_BSD_DVD_STRUCT'
if linux || netbsd || openbsd ; then
if linux || netbsd || openbsd || bsdos ; then
_def_dvd_linux='#define HAVE_LINUX_DVD_STRUCT 1'
else
if freebsd || bsdos ; then
if freebsd ; then
_def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1'
fi
fi