summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-11-14 02:42:27 +0000
committerMåns Rullgård <mans@mansr.com>2006-11-14 02:42:27 +0000
commitc683a5d129612c401f1ccddef2ba1a21eec2d205 (patch)
treed15f91bec28484a6c81027d0284739ab9f047704 /configure
parent165af439f1e51e5cc673416b6723197dd5d0ead9 (diff)
simplify
Originally committed as revision 7040 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index 8fdfb1ffd7..083cf65bea 100755
--- 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"