changeset 27585:3fe0575a937a

Add -I. to _inc_extra at the beginning instead of to CFLAGS at the end.
author diego
date Mon, 15 Sep 2008 15:33:34 +0000
parents 7bc037bccec5
children 6f6fbfe8e691
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Sep 15 15:30:06 2008 +0000
+++ b/configure	Mon Sep 15 15:33:34 2008 +0000
@@ -1350,6 +1350,7 @@
 fi
 
 
+_inc_extra=-I.
 _timer=timer-linux.c
 _getch=getch2.c
 if freebsd ; then
@@ -6041,7 +6042,7 @@
   done
   if test "$_theora" = no && test "$_tremor_internal" = yes; then
     for _ld_theora in "`$_pkg_config --silence-errors --libs --cflags theora`" "-ltheora -logg"; do
-      cc_check -I. tremor/bitwise.c $_ld_theora \
+      cc_check tremor/bitwise.c $_ld_theora \
         && _ld_extra="$_ld_extra $_ld_theora" && theora=yes && break
     done
   fi
@@ -7737,7 +7738,6 @@
   fi
 fi
 
-CFLAGS="-I. $CFLAGS"
 CXXFLAGS=" $CFLAGS -D__STDC_LIMIT_MACROS"
 
 cat > $TMPC << EOF