OSDN Git Service

configure: move config.fate creation after OS section
authorMåns Rullgård <mans@mansr.com>
Thu, 26 Aug 2010 22:22:27 +0000 (22:22 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 26 Aug 2010 22:22:27 +0000 (22:22 +0000)
The OS label can be changed, and we want this to be reflected.

Originally committed as revision 24953 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index caf5727..b7bcb48 100755 (executable)
--- a/configure
+++ b/configure
@@ -2231,8 +2231,6 @@ 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)
@@ -2380,6 +2378,8 @@ case $target_os in
         ;;
 esac
 
+echo "config:$arch:$subarch:$cpu:$target_os:$cc_ident:$FFMPEG_CONFIGURATION" >config.fate
+
 check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic
 
 set_default $PATHS_LIST