comparison configure @ 27325:a724531d1e5b

Move libdvdcss-specific CFLAG settings to libdvdcss test.
author diego
date Mon, 28 Jul 2008 16:36:11 +0000
parents 09cf111f68b8
children 2d40cb917037
comparison
equal deleted inserted replaced
27324:f52396a61654 27325:a724531d1e5b
5461 elif freebsd || dragonfly ; then 5461 elif freebsd || dragonfly ; then
5462 _def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1' 5462 _def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1'
5463 elif darwin ; then 5463 elif darwin ; then
5464 _def_dvd_darwin='#define DARWIN_DVD_IOCTL' 5464 _def_dvd_darwin='#define DARWIN_DVD_IOCTL'
5465 _ld_extra="$_ld_extra -framework IOKit" 5465 _ld_extra="$_ld_extra -framework IOKit"
5466 elif cygwin ; then
5467 CFLAGS="$CFLAGS -DSYS_CYGWIN"
5468 elif beos ; then
5469 CFLAGS="$CFLAGS -DSYS_BEOS"
5470 elif os2 ; then
5471 CFLAGS="$CFLAGS -DSYS_OS2"
5466 fi 5472 fi
5467 _libdvdcss_dvdread_flags="-Ilibdvdcss -DHAVE_DVDCSS_DVDCSS_H" 5473 _libdvdcss_dvdread_flags="-Ilibdvdcss -DHAVE_DVDCSS_DVDCSS_H"
5468 _inputmodules="libdvdcss(internal) $_inputmodules" 5474 _inputmodules="libdvdcss(internal) $_inputmodules"
5469 _largefiles=yes 5475 _largefiles=yes
5470 else 5476 else
7632 if test "$_largefiles" = yes || freebsd ; then 7638 if test "$_largefiles" = yes || freebsd ; then
7633 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" 7639 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
7634 if test "$_dvdread" = yes || test "$_libdvdcss_internal" = yes ; then 7640 if test "$_dvdread" = yes || test "$_libdvdcss_internal" = yes ; then
7635 # dvdread support requires this (for off64_t) 7641 # dvdread support requires this (for off64_t)
7636 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" 7642 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
7637 cygwin && CFLAGS="$CFLAGS -DSYS_CYGWIN"
7638 beos && CFLAGS="$CFLAGS -DSYS_BEOS"
7639 os2 && CFLAGS="$CFLAGS -DSYS_OS2"
7640 fi 7643 fi
7641 fi 7644 fi
7642 7645
7643 # Make sure config.h gets included. 7646 # Make sure config.h gets included.
7644 if test "$_dvdread_internal" = yes || test "$_faad_internal" = yes ; then 7647 if test "$_dvdread_internal" = yes || test "$_faad_internal" = yes ; then