changeset 25110:f618cb244428

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
author diego
date Thu, 22 Nov 2007 16:46:48 +0000
parents a362a3b42e24
children 72dbb09c9d36
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Nov 22 10:27:58 2007 +0000
+++ b/configure	Thu Nov 22 16:46:48 2007 +0000
@@ -8503,7 +8503,7 @@
 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
 
 #############################################################################