changeset 7106:ee5e9d11dc46

libmpdvdkit on openbsd, patch by Bj«Órn Sandell <biorn@dce.chalmers.se>.
author diego
date Wed, 28 Aug 2002 00:05:10 +0000
parents 79b00f519134
children ebc1cd8014a5
files configure
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Aug 27 23:01:54 2002 +0000
+++ b/configure	Wed Aug 28 00:05:10 2002 +0000
@@ -3029,7 +3029,7 @@
 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 @@
   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_bsdi_dvd
 $_def_dvd_bsd
 $_def_dvd_linux
+$_dev_dvd_openbsd
 $_def_sol_scsi_h
 $_def_stddef