From 330f7ff8eb146319bbf2300820719c8202db48af Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 22 Nov 2007 16:46:48 +0000 Subject: [PATCH] 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #############################################################################