simplify
authorMåns Rullgård <mans@mansr.com>
Tue, 14 Nov 2006 02:42:27 +0000 (02:42 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 14 Nov 2006 02:42:27 +0000 (02:42 +0000)
Originally committed as revision 7040 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 8fdfb1f..083cf65 100755 (executable)
--- a/configure
+++ b/configure
@@ -2051,8 +2051,7 @@ for codec in $DECODER_LIST $ENCODER_LIST $PARSER_LIST $DEMUXER_LIST $MUXER_LIST;
 done
 
 # Do not overwrite config.h if unchanged to avoid superfluous rebuilds.
-diff $TMPH config.h >/dev/null 2>&1
-if test "$?" != "0" ; then
+if ! cmp -s $TMPH config.h; then
         mv -f $TMPH config.h
 else
         echo "config.h is unchanged"