changeset 29221:84ed872376f3

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.
author diego
date Tue, 05 May 2009 17:30:50 +0000
parents 550ea315bdd8
children 1ce79aed275a
files configure
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue May 05 17:27:36 2009 +0000
+++ b/configure	Tue May 05 17:30:50 2009 +0000
@@ -5854,7 +5854,8 @@
   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_darwin
 $def_dvd_linux
 $def_dvd_openbsd
+$def_dvdcss
 $def_dvdio
 $def_dvdnav
 $def_dvdread