From ab5760ab332eaa03dcfe006ed9599a0fc12db206 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 5 May 2009 17:30:50 +0000 Subject: 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 --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3