Files
rtems-patmos/doc/acinclude.m4
Joel Sherrill ba6a9ec3b9 2003-09-19 Joel Sherrill <joel@OARcorp.com>
* HELP.html, index.html.in, rtems_footer.html.in, rtems_header.html.in,
	rtems_support.html.in, ada_user/ada_user.texi: Merge from branch.
	* acinclude.m4, images/rtems_logo.jpg: New files.
	* SUPPORT, tools/texi2www/archive/texi2www-960103.tgz: Removed.
2003-09-19 18:06:31 +00:00

19 lines
354 B
Plaintext

## _RTEMS_UPDATE_CONDITIONAL(FINAL,TMP)
AC_DEFUN([_RTEMS_UPDATE_CONDITIONAL],[
AS_IF([test -f $1],[
AS_IF([cmp -s $1 $2 2>/dev/null],
[
AC_MSG_NOTICE([$1 is unchanged])
rm -f $$2
],[
AC_MSG_NOTICE([creating $1])
rm -f $1
mv $2 $1
])
],[
AC_MSG_NOTICE([creating $1])
rm -f $1
mv $2 $1
])
])