Invert the logic to check the cmp return value cmp to avoid using the ! operator.

Useful on non-POSIX shells that do not support the ! operator.  We normally
require a POSIX-compatible shell, but in this case the change is acceptable
since it does not complicate configure nor hurt readability.
patch by Ralf Menzel, menzel ls6.cs.uni-dortmund de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25138 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2007-11-22 16:46:48 +00:00
parent 27fa018d05
commit 330f7ff8eb
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -8503,7 +8503,7 @@ $_def_xshape
EOF
# Do not overwrite an unchanged config.h to avoid superfluous rebuilds.
! cmp -s "$TMPH" config.h && mv -f "$TMPH" config.h
cmp -s "$TMPH" config.h || mv -f "$TMPH" config.h
#############################################################################