1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-12 01:46:16 +00:00

Add #define for HAVE_DVDCSS_DVDCSS_H (needed by internal libdvdread) to config.h

instead of passing -D on the compiler command line.
This is more convenient and already done with most preprocessor definitions
needed by external libraries.
Previously the definition was passed on the command line because libdvdread was
missing the necessary config.h #include, which was now added.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29263 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2009-05-05 17:30:50 +00:00
parent 32173c6162
commit ab5760ab33

4
configure vendored
View File

@ -5854,7 +5854,8 @@ if test "$_libdvdcss_internal" = yes ; then
elif os2 ; then
cflags_libdvdcss="-DSYS_OS2"
fi
cflags_libdvdcss_dvdread="-Ilibdvdcss -DHAVE_DVDCSS_DVDCSS_H"
cflags_libdvdcss_dvdread="-Ilibdvdcss"
def_dvdcss="#define HAVE_DVDCSS_DVDCSS_H 1"
_inputmodules="libdvdcss(internal) $_inputmodules"
_largefiles=yes
else
@ -8561,6 +8562,7 @@ $def_dvd_bsd
$def_dvd_darwin
$def_dvd_linux
$def_dvd_openbsd
$def_dvdcss
$def_dvdio
$def_dvdnav
$def_dvdread