summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-22 16:46:48 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-22 16:46:48 +0000
commit330f7ff8eb146319bbf2300820719c8202db48af (patch)
treec86fd3b523064f8a8bab7f18627bbb751a3a3816 /configure
parent27fa018d05d65edfeba000abbe8e4b236a2d92bd (diff)
downloadmpv-330f7ff8eb146319bbf2300820719c8202db48af.tar.bz2
mpv-330f7ff8eb146319bbf2300820719c8202db48af.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index d3225e9fb2..52861f847b 100755
--- a/configure
+++ b/configure
@@ -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
#############################################################################