Use != instead of -ne in test invocations for greater portability.
authorMichel Bardiaux <mbardiaux@peaktime.be>
Mon, 13 Feb 2006 22:50:00 +0000 (22:50 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 13 Feb 2006 22:50:00 +0000 (22:50 +0000)
patch by Michel Bardiaux, mbardiaux XatX mediaxim XdotX be

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

configure

index 1770aa4..bfcbaff 100755 (executable)
--- a/configure
+++ b/configure
@@ -1941,7 +1941,7 @@ done
 
 # Do not overwrite config.h if unchanged to avoid superfluous rebuilds.
 diff $TMPH config.h >/dev/null 2>&1
-if test $? -ne 0 ; then
+if test "$?" != "0" ; then
         mv -f $TMPH config.h
 else
         echo "config.h is unchanged"