From ba6a9ec3b91c67894ba48e491edb409d764a2279 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 19 Sep 2003 18:06:31 +0000 Subject: 2003-09-19 Joel Sherrill * 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. --- doc/acinclude.m4 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/acinclude.m4 (limited to 'doc/acinclude.m4') diff --git a/doc/acinclude.m4 b/doc/acinclude.m4 new file mode 100644 index 0000000000..219d8042ab --- /dev/null +++ b/doc/acinclude.m4 @@ -0,0 +1,18 @@ +## _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 + ]) +]) -- cgit v1.2.3