From 6f0da163dde71e51fa67e47139476d0715323b78 Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 9 Aug 2007 11:35:41 +0000 Subject: Move some more compiler flags to configure. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24043 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index f750f6edf7..597bd458c5 100755 --- a/configure +++ b/configure @@ -7371,6 +7371,11 @@ if test "$_largefiles" = yes || freebsd ; then fi fi +# Make sure config.h gets included. +if test "$_dvdread_internal" = yes || test "$_faad_internal" = yes ; then + CFLAGS="$CFLAGS -DHAVE_CONFIG_H" +fi + CFLAGS="-I. -I.. -I../libavutil $CFLAGS" CXXFLAGS=" $CFLAGS -D__STDC_LIMIT_MACROS" @@ -7682,13 +7687,17 @@ $_def_fast_inttypes /* libdvdcss */ #define HAVE_ERRNO_H 1 + +/* libdvdcss + libdvdread */ #define HAVE_LIMITS_H 1 /* libdvdcss + libfaad2 */ #define HAVE_UNISTD_H 1 -/* libfaad2 */ +/* libfaad2 + libdvdread */ #define STDC_HEADERS 1 + +/* libfaad2 */ #define HAVE_MEMCPY 1 #define HAVE_STRCHR 1 -- cgit v1.2.3