Use != instead of -ne in test invocations for greater portability.

patch by Michel Bardiaux, mbardiaux XatX mediaxim XdotX be

Originally committed as revision 5021 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michel Bardiaux 2006-02-13 22:50:00 +00:00 committed by Diego Biurrun
parent 9cb2cf10b2
commit 214c5f26c9
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

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