mirror of
https://github.com/mpv-player/mpv
synced 2025-04-09 19:22:05 +00:00
Move libdvdcss-specific CFLAG settings to libdvdcss test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27357 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3069de886e
commit
0934a87e1a
9
configure
vendored
9
configure
vendored
@ -5463,6 +5463,12 @@ if test "$_libdvdcss_internal" = yes ; then
|
|||||||
elif darwin ; then
|
elif darwin ; then
|
||||||
_def_dvd_darwin='#define DARWIN_DVD_IOCTL'
|
_def_dvd_darwin='#define DARWIN_DVD_IOCTL'
|
||||||
_ld_extra="$_ld_extra -framework IOKit"
|
_ld_extra="$_ld_extra -framework IOKit"
|
||||||
|
elif cygwin ; then
|
||||||
|
CFLAGS="$CFLAGS -DSYS_CYGWIN"
|
||||||
|
elif beos ; then
|
||||||
|
CFLAGS="$CFLAGS -DSYS_BEOS"
|
||||||
|
elif os2 ; then
|
||||||
|
CFLAGS="$CFLAGS -DSYS_OS2"
|
||||||
fi
|
fi
|
||||||
_libdvdcss_dvdread_flags="-Ilibdvdcss -DHAVE_DVDCSS_DVDCSS_H"
|
_libdvdcss_dvdread_flags="-Ilibdvdcss -DHAVE_DVDCSS_DVDCSS_H"
|
||||||
_inputmodules="libdvdcss(internal) $_inputmodules"
|
_inputmodules="libdvdcss(internal) $_inputmodules"
|
||||||
@ -7634,9 +7640,6 @@ if test "$_largefiles" = yes || freebsd ; then
|
|||||||
if test "$_dvdread" = yes || test "$_libdvdcss_internal" = yes ; then
|
if test "$_dvdread" = yes || test "$_libdvdcss_internal" = yes ; then
|
||||||
# dvdread support requires this (for off64_t)
|
# dvdread support requires this (for off64_t)
|
||||||
CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
|
CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
|
||||||
cygwin && CFLAGS="$CFLAGS -DSYS_CYGWIN"
|
|
||||||
beos && CFLAGS="$CFLAGS -DSYS_BEOS"
|
|
||||||
os2 && CFLAGS="$CFLAGS -DSYS_OS2"
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user