summaryrefslogtreecommitdiffstats
path: root/doc/acinclude.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-19 18:06:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-19 18:06:31 +0000
commitba6a9ec3b91c67894ba48e491edb409d764a2279 (patch)
tree155aae21d3821fd3764eef3b8df7a80fc4358e3b /doc/acinclude.m4
parent2003-09-19 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-ba6a9ec3b91c67894ba48e491edb409d764a2279.tar.bz2
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.
Diffstat (limited to '')
-rw-r--r--doc/acinclude.m418
1 files changed, 18 insertions, 0 deletions
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
+ ])
+])