Mercurial > mplayer.hg
comparison configure @ 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 | aa166b26298d |
children | 72dbb09c9d36 |
comparison
equal
deleted
inserted
replaced
25109:a362a3b42e24 | 25110:f618cb244428 |
---|---|
8501 | 8501 |
8502 #endif /* MPLAYER_CONFIG_H */ | 8502 #endif /* MPLAYER_CONFIG_H */ |
8503 EOF | 8503 EOF |
8504 | 8504 |
8505 # Do not overwrite an unchanged config.h to avoid superfluous rebuilds. | 8505 # Do not overwrite an unchanged config.h to avoid superfluous rebuilds. |
8506 ! cmp -s "$TMPH" config.h && mv -f "$TMPH" config.h | 8506 cmp -s "$TMPH" config.h || mv -f "$TMPH" config.h |
8507 | 8507 |
8508 ############################################################################# | 8508 ############################################################################# |
8509 | 8509 |
8510 cat << EOF | 8510 cat << EOF |
8511 | 8511 |