Unconditionally overwrite config.h. The current behavior where config.h is
authorDiego Biurrun <diego@biurrun.de>
Mon, 13 Feb 2006 16:35:36 +0000 (16:35 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 13 Feb 2006 16:35:36 +0000 (16:35 +0000)
only overwritten if it differs from the new one is effectively a nop.

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

configure

index 84b72bc..9b5e942 100755 (executable)
--- a/configure
+++ b/configure
@@ -1939,12 +1939,7 @@ for codec in $CODEC_LIST ; do
     echo "CONFIG_`echo $codec | tr a-z A-Z`=yes" >> config.mak
 done
 
-diff $TMPH config.h >/dev/null 2>&1
-if test $? -ne 0 ; then
-        mv -f $TMPH config.h
-else
-        echo "config.h is unchanged"
-fi
+mv -f $TMPH config.h
 
 rm -f $TMPO $TMPC $TMPE $TMPS $TMPH