mirror of https://git.ffmpeg.org/ffmpeg.git
Unconditionally overwrite config.h. The current behavior where config.h is
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
This commit is contained in:
parent
9df3437fe1
commit
6eb7182cf4
|
@ -1939,12 +1939,7 @@ for codec in $CODEC_LIST ; do
|
||||||
echo "CONFIG_`echo $codec | tr a-z A-Z`=yes" >> config.mak
|
echo "CONFIG_`echo $codec | tr a-z A-Z`=yes" >> config.mak
|
||||||
done
|
done
|
||||||
|
|
||||||
diff $TMPH config.h >/dev/null 2>&1
|
mv -f $TMPH config.h
|
||||||
if test $? -ne 0 ; then
|
|
||||||
mv -f $TMPH config.h
|
|
||||||
else
|
|
||||||
echo "config.h is unchanged"
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -f $TMPO $TMPC $TMPE $TMPS $TMPH
|
rm -f $TMPO $TMPC $TMPE $TMPS $TMPH
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue