source: rtems/aclocal/check-files-in.m4 @ 8555ddb

4.104.114.84.9
Last change on this file since 8555ddb was 81e0232, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 17, 1998 at 1:49:06 PM

Update from Ralf Corsepius:

6) The macro files from aclocal/*.m4 contain the buggy sed-rules formerly
contained in aclocal..m4, i.e. the sed/sort-bug fix to aclocal.m4 didn't
make it to aclocal/*.m4. I think I should feel guilty for that - Obviously I
submitted the contents of an old aclocal-directory last time. - Sorry.

  • Property mode set to 100644
File size: 544 bytes
Line 
1dnl $Id$
2
3dnl RTEMS_CHECK_FILES_IN(path,file,var)
4dnl path .. path relative to srcdir, where to start searching for files
5dnl file .. name of the files to search for
6dnl var  .. shell variable to append files found
7AC_DEFUN(RTEMS_CHECK_FILES_IN,
8[
9AC_MSG_CHECKING(for $2.in in $1)
10if test -d $srcdir/$1; then
11  rtems_av_save_dir=`pwd`;
12  cd $srcdir;
13  rtems_av_tmp=`find $1 -name "$2.in" -print | sed "s/$2\.in/%/" | sort | sed "s/%/$2/"`
14  $3="$$3 $rtems_av_tmp";
15  cd $rtems_av_save_dir;
16  AC_MSG_RESULT(done)
17else
18  AC_MSG_RESULT(no)
19fi
20])
21
Note: See TracBrowser for help on using the repository browser.