comparison configure @ 24071:e8aa0449e8fd

Add libdvdcss-specific CFLAGS in the correct place.
author diego
date Sat, 18 Aug 2007 09:39:56 +0000
parents 3b3087e40101
children a2543c0f8cee
comparison
equal deleted inserted replaced
24070:bf7545ebc044 24071:e8aa0449e8fd
7409 elif bsd ; then 7409 elif bsd ; then
7410 # FIXME bsd needs this so maybe other OS'es 7410 # FIXME bsd needs this so maybe other OS'es
7411 CFLAGS="$CFLAGS -D_THREAD_SAFE" 7411 CFLAGS="$CFLAGS -D_THREAD_SAFE"
7412 fi 7412 fi
7413 if cygwin ; then 7413 if cygwin ; then
7414 CFLAGS="$CFLAGS -D__CYGWIN__ -DSYS_CYGWIN" 7414 CFLAGS="$CFLAGS -D__CYGWIN__"
7415 fi 7415 fi
7416 # 64 bit file offsets? 7416 # 64 bit file offsets?
7417 if test "$_largefiles" = yes || freebsd ; then 7417 if test "$_largefiles" = yes || freebsd ; then
7418 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" 7418 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
7419 if test "$_dvdread" = yes || test "$_libdvdcss_internal" = yes ; then 7419 if test "$_dvdread" = yes || test "$_libdvdcss_internal" = yes ; then
7420 # dvdread support requires this (for off64_t) 7420 # dvdread support requires this (for off64_t)
7421 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" 7421 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
7422 cygwin && CFLAGS="$CFLAGS -DSYS_CYGWIN"
7422 fi 7423 fi
7423 fi 7424 fi
7424 7425
7425 # Make sure config.h gets included. 7426 # Make sure config.h gets included.
7426 if test "$_dvdread_internal" = yes || test "$_faad_internal" = yes ; then 7427 if test "$_dvdread_internal" = yes || test "$_faad_internal" = yes ; then