configure: write config.fate file as early as possible
authorMåns Rullgård <mans@mansr.com>
Thu, 26 Aug 2010 19:49:57 +0000 (19:49 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 26 Aug 2010 19:49:57 +0000 (19:49 +0000)
Originally committed as revision 24952 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 2689578..caf5727 100755 (executable)
--- a/configure
+++ b/configure
@@ -2231,6 +2231,8 @@ esac
 enable $subarch
 enabled spic && enable pic
 
+echo "config:$arch:$subarch:$cpu:$target_os:$cc_ident:$FFMPEG_CONFIGURATION" >config.fate
+
 # OS specific
 case $target_os in
     haiku)
@@ -3206,8 +3208,6 @@ echo "#endif /* AVUTIL_AVCONFIG_H */" >> $TMPH
 
 cp_if_changed $TMPH libavutil/avconfig.h
 
-echo "config:$arch:$subarch:$cpu:$target_os:$cc_ident:$FFMPEG_CONFIGURATION" >config.fate
-
 test -n "$WARNINGS" && printf "\n$WARNINGS"
 
 # build pkg-config files