source: rtems/doc/acinclude.m4 @ 53b5b48

Last change on this file since 53b5b48 was 53b5b48, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/30/03 at 05:11:15

2003-08-30 Ralf Corsepius <corsepiu@…>

  • acinclude.m4: New.
  • common/rtems.texi.in: New.
  • configure.ac: Reflect changes above.
  • project.am: Add COMMON_FILES. Add rules to build common/rtems.texi.
  • Property mode set to 100644
File size: 354 bytes
Line 
1## _RTEMS_UPDATE_CONDITIONAL(FINAL,TMP)
2AC_DEFUN([_RTEMS_UPDATE_CONDITIONAL],[
3  AS_IF([test -f $1],[
4    AS_IF([cmp -s $1 $2 2>/dev/null],
5    [
6      AC_MSG_NOTICE([$1 is unchanged])
7      rm -f $$2
8    ],[
9      AC_MSG_NOTICE([creating $1])
10      rm -f $1
11      mv $2 $1
12    ])
13  ],[
14    AC_MSG_NOTICE([creating $1])
15    rm -f $1
16    mv $2 $1
17  ])
18])
Note: See TracBrowser for help on using the repository browser.