[MPlayer-dev-eng] [PATCH] libmpdvdkit on openbsd

Björn Sandell biorn at dce.chalmers.se
Wed Aug 28 01:13:30 CEST 2002


SSIA

Björn Sandell       DCE/DFS Sysadmin       IT department
Chalmers University of Technology    www.dce.chalmers.se
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.543
diff -u -r1.543 configure
--- configure   21 Aug 2002 21:31:18 -0000      1.543
+++ configure   27 Aug 2002 23:26:27 -0000
@@ -3029,7 +3034,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 +3055,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 +4367,7 @@
 $_def_bsdi_dvd
 $_def_dvd_bsd
 $_def_dvd_linux
+$_dev_dvd_openbsd
 $_def_sol_scsi_h
 $_def_stddef


More information about the MPlayer-dev-eng mailing list