Mercurial > mplayer.hg
comparison configure @ 27327:a336468a5747
Move CFLAGS specific to internal libdvdread and libfaad2 to the Makefile and
use them only when compiling objects from those subdirectories.
author | diego |
---|---|
date | Mon, 28 Jul 2008 16:57:22 +0000 |
parents | 2d40cb917037 |
children | 4636949fca45 |
comparison
equal
deleted
inserted
replaced
27326:2d40cb917037 | 27327:a336468a5747 |
---|---|
7637 # dvdread support requires this (for off64_t) | 7637 # dvdread support requires this (for off64_t) |
7638 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" | 7638 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" |
7639 fi | 7639 fi |
7640 fi | 7640 fi |
7641 | 7641 |
7642 # Make sure config.h gets included. | |
7643 if test "$_dvdread_internal" = yes || test "$_faad_internal" = yes ; then | |
7644 CFLAGS="$CFLAGS -DHAVE_CONFIG_H" | |
7645 fi | |
7646 | |
7647 CFLAGS="-I. $CFLAGS" | 7642 CFLAGS="-I. $CFLAGS" |
7648 CXXFLAGS=" $CFLAGS -D__STDC_LIMIT_MACROS" | 7643 CXXFLAGS=" $CFLAGS -D__STDC_LIMIT_MACROS" |
7649 | 7644 |
7650 cat > $TMPC << EOF | 7645 cat > $TMPC << EOF |
7651 int main(void) { return 0; } | 7646 int main(void) { return 0; } |