[MPlayer-cvslog] r25138 - trunk/configure

diego subversion at mplayerhq.hu
Thu Nov 22 17:46:49 CET 2007


Author: diego
Date: Thu Nov 22 17:46:48 2007
New Revision: 25138

Log:
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


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Thu Nov 22 17:46:48 2007
@@ -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
 
 #############################################################################
 



More information about the MPlayer-cvslog mailing list