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
pull/126/head
Michel Bardiaux 19 years ago committed by Diego Biurrun
parent 9cb2cf10b2
commit 214c5f26c9
  1. 2
      configure

2
configure vendored

@ -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"

Loading…
Cancel
Save