view move-if-change @ 94119:5b10e5646973

* configure.in (SYNC_INPUT): Use OPTION_DEFAULT_ON and AC_DEFINE rather than change CPPFLAGS. (HAVE_GTK): Rename to USE_GTK. * Makefile.in: Don't use HAVE_GTK and don't -DUSE_GTK since it's now done in config.h.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 16 Apr 2008 19:53:06 +0000
parents 354e0c45cedf
children 14a97ab281d5
line wrap: on
line source

#!/bin/sh
if
test -r $2
then
if
cmp $1 $2 > /dev/null
then
echo $2 is unchanged
rm -f $1
else
mv -f $1 $2
fi
else
mv -f $1 $2
fi