changeset 22794:4930b83a81d2

Move the addition of basic include flags to configure.
author diego
date Sat, 24 Mar 2007 19:44:15 +0000
parents 0813069ea278
children 0285c5f0f53d
files configure mpcommon.mak
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Mar 24 19:40:32 2007 +0000
+++ b/configure	Sat Mar 24 19:44:15 2007 +0000
@@ -7409,7 +7409,8 @@
   fi
 fi
 
-CXXFLAGS="-I.. $CFLAGS -D__STDC_LIMIT_MACROS"
+CFLAGS="-I. -I.. -I../libavutil $CFLAGS"
+CXXFLAGS=" $CFLAGS -D__STDC_LIMIT_MACROS"
 
 cat > $TMPC << EOF
 int main() { return 0; }
--- a/mpcommon.mak	Sat Mar 24 19:40:32 2007 +0000
+++ b/mpcommon.mak	Sat Mar 24 19:44:15 2007 +0000
@@ -8,7 +8,7 @@
 
 CFLAGS-$(CONFIG_LIBAVCODEC)     += -I../libavcodec
 CFLAGS-$(CONFIG_LIBAVFORMAT)    += -I../libavformat
-CFLAGS += -I. -I.. -I../libavutil $(CFLAGS-yes) $(OPTFLAGS)
+CFLAGS += $(CFLAGS-yes) $(OPTFLAGS)
 
 LIBS-$(MPLAYER)  += $(LIBNAME_MPLAYER)
 LIBS-$(MENCODER) += $(LIBNAME_MENCODER)