changeset 5891:f7bbb37940d6

only freebsd has BSD-style dvd_struct? - enable dvdkit only for linux+freebsd
author arpi
date Sun, 28 Apr 2002 21:05:09 +0000
parents f3283d1c7e41
children 2e71feda5e0f
files configure
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Apr 28 20:20:06 2002 +0000
+++ b/configure	Sun Apr 28 21:05:09 2002 +0000
@@ -2626,7 +2626,7 @@
 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 @@
   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