summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-05 17:30:50 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-05 17:30:50 +0000
commitab5760ab332eaa03dcfe006ed9599a0fc12db206 (patch)
tree1c9f2506d6fa034ee7f604af609f6f56e5034af1
parent32173c61625b49e8e99c9abee6fda3034ede8f64 (diff)
downloadmpv-ab5760ab332eaa03dcfe006ed9599a0fc12db206.tar.bz2
mpv-ab5760ab332eaa03dcfe006ed9599a0fc12db206.tar.xz
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
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index c5655adaa1..6d853c0720 100755
--- a/configure
+++ b/configure
@@ -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