Browse Source

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
tags/v0.5
Michel Bardiaux Diego Biurrun 19 years ago
parent
commit
214c5f26c9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      configure

+ 1
- 1
configure 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"


Loading…
Cancel
Save