From c683a5d129612c401f1ccddef2ba1a21eec2d205 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Tue, 14 Nov 2006 02:42:27 +0000
Subject: [PATCH] simplify

Originally committed as revision 7040 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure b/configure
index 8fdfb1ffd79..083cf65bea8 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"
-- 
GitLab