summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-28 17:34:58 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-28 17:34:58 +0000
commit7b7beb219b6f9a65c1b977ca40976614bff1f5c6 (patch)
tree7d2b41c37b0e7e87581944decf2829a2a70dee52 /configure
parent938caaeb0219703f5e79c0e2125b1a5dc9dcd9eb (diff)
downloadmpv-7b7beb219b6f9a65c1b977ca40976614bff1f5c6.tar.bz2
mpv-7b7beb219b6f9a65c1b977ca40976614bff1f5c6.tar.xz
mpdvdkit vs. bsd fixed?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5888 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 7 insertions, 8 deletions
diff --git a/configure b/configure
index be2aefcf90..a662864676 100755
--- a/configure
+++ b/configure
@@ -2621,15 +2621,14 @@ if test "$_dvdkit" = yes ; then
_inputmodules="mpdvdkit $_inputmodules"
_dvdread=included
fi
- if bsd ; then
- _def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1'
+ _def_dvd_linux='#undef HAVE_LINUX_DVD_STRUCT'
+ _def_dvd_bsd='#undef HAVE_BSD_DVD_STRUCT'
+ if linux || netbsd || openbsd ; then
+ _def_dvd_linux='#define HAVE_LINUX_DVD_STRUCT 1'
else
- _def_dvd_bsd='#undef HAVE_BSD_DVD_STRUCT'
- fi
- if linux ; then
- _def_dvd_linux='#define HAVE_LINUX_DVD_STRUCT 1'
- else
- _def_dvd_linux='#undef HAVE_LINUX_DVD_STRUCT'
+ if freebsd || bsdos ; then
+ _def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1'
+ fi
fi
else
_noinputmodules="mpdvdkit $_noinputmodules"