changeset 5887:f684e461f141

mpdvdkit vs. bsd fixed?
author arpi
date Sun, 28 Apr 2002 17:34:58 +0000
parents d4307620912d
children 90730a179d18
files configure
diffstat 1 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Apr 28 17:29:48 2002 +0000
+++ b/configure	Sun Apr 28 17:34:58 2002 +0000
@@ -2621,15 +2621,14 @@
     _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"